/* Ana konteyner */
.note-box {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #fff;
    gap: 8px;
    margin-bottom: 12px;
    border-radius: 0 0 12px 12px;
}

/* Avatar dizaynı */
.note-avatar-wrapper {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.note-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Giriş sahəsinin boz fonu */
.note-input-container {
    flex-grow: 1;
    background-color: rgba(131, 102, 86, .08);
    border-radius: 8px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

/* Klikləyəndə və ya fokuslananda rəng DƏYİŞMƏSİN */
.note-input-container:focus,
.note-input-container:active,
.note-input-container:focus-within {
    outline: none !important;
    background-color: rgba(131, 102, 86, .08) !important;
    box-shadow: none !important;
}

.note-input-field {
    width: 100%;
    border: none;
    background: transparent;
    outline: none !important;
    line-height: 20px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent !important;
}

/* Placeholder rəngi (Qeyd sözü) */
.note-input-placeholder {
    color: rgba(46, 47, 51, .64);
    font-weight: 400;
}

/* Kamera butonu */
.note-btn {
    /*padding: 4px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #262626;
}

.note-btn:active {
    opacity: 0.6;
}

.note-btn_actions_item {
    display: inline-block;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
}

.note-btn_actions_item:active {
    background-color: #e0e0e0;
}

.note-btn_actions_item:hover {
    background-color: #f5f5f5;
}



/*.app-modal {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 630px;
    height: 100dvh; 
    background: #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 9999;
}*/

/*.app-modal {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 630px;
    height: 100vh; 
    height: -webkit-fill-available;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
}*/

/*.app-modal-body {
    flex: 1; 
    padding: 12px;
    overflow-y: auto;
}*/

.app-modal {
    width: 100%;
    max-width: 630px;
    height: auto;
    max-height: 100dvh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 auto;
    overflow-y: auto;
}

.app-modal-body {
    flex-grow: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
}

.app-textarea {
    flex: 1;
    width: 100%;
    min-height: 100%;
    border: none;
    outline: none;
    font-size: 19px;
    line-height: 1.5;
    color: #1a1a1a;
    resize: none;
    background: transparent;
    transition: border-color 0.2s, background 0.2s;
}

/*.app-textarea {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: text !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}*/

.app-textarea:focus {
    outline: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.app-modal {
    -webkit-tap-highlight-color: transparent !important;
}

.app-modal-footer {
    flex-shrink: 0; 
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #f2f2f2;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.footer-btn {
    flex: 1;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.btn-secondary {
    background: #efefef;
    color: #555;
}

.btn-primary {
    background: #ff8c00;
    color: #fff;
}
/*.app-textarea {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    outline: 0;
    resize: none;
    background: 0 0;
    font-size: 20px;
    line-height: 24px;
    height: 24px;
    color: currentColor;
    vertical-align: middle;
    width: 100%;
}*/

/*.app-modal-footer {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #f2f2f2;
    padding-bottom: env(safe-area-inset-bottom, 12px); 
}*/
/*
.app-modal-footer {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-top: 1px solid #f2f2f2;
    flex-shrink: 0; 
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
}
*/

/*.footer-btn {
    flex: 1;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
}*/


