/* ==========================================================================
   CSS CHO CÁC MODAL DÙNG CHUNG (TẠO NHÓM, CHIA SẺ, ĐĂNG BÀI)
   ========================================================================== */

/* POST CREATE MODAL */
.natuh-post-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 999999;
    display: none;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.natuh-post-modal.active {
    display: flex;
}

.natuh-post-modal * {
    box-sizing: border-box;
}

.npm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #E5E5E5;
    background: #ffffff;
}

.npm-btn-cancel,
.npm-btn-post {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
}

.npm-btn-cancel {
    color: #666;
}

.npm-btn-post {
    color: #0088FF;
    opacity: 0.5;
    pointer-events: none;
}

.npm-btn-post.ready {
    opacity: 1;
    pointer-events: auto;
}

.npm-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.npm-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #ffffff;
}

.npm-user-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.npm-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.npm-user-info {
    display: flex;
    flex-direction: column;
}

.npm-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.npm-audience-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #F0F2F5;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #333;
    border: none;
    cursor: pointer;
    width: max-content;
}

.npm-audience-btn .material-icons-outlined {
    font-size: 14px;
}

.npm-textarea {
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    font-size: 16px;
    line-height: 1.5;
    min-height: 150px;
    color: #1a1a1a;
    font-family: inherit;
}

.npm-textarea::placeholder {
    color: #888;
}

.npm-guidelines {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #F8F9FA;
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    border: 1px solid #EEEEEE;
}

.npm-guidelines input[type="checkbox"] {
    margin-top: 3px;
}

.npm-guidelines-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.npm-guidelines-text a {
    color: #0088FF;
    text-decoration: none;
}

.npm-footer {
    padding: 12px 16px;
    border-top: 1px solid #E5E5E5;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.npm-action-icon {
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.npm-action-icon .material-icons-outlined {
    font-size: 26px;
}

.npm-action-icon.color-green {
    color: #4CAF50;
}

.npm-action-icon.color-blue {
    color: #2196F3;
}

.npm-action-icon.color-pink {
    color: #E91E63;
}

/* GROUP CHAT CREATE MODAL */
.natuh-group-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 999999;
    display: none;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.natuh-group-modal.active {
    display: flex;
}

.natuh-group-modal * {
    box-sizing: border-box;
}

.ngm-header {
    background: #123321;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 16px;
}

.ngm-btn-close {
    background: none;
    border: none;
    color: #ffffff;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 50%;
}

.ngm-btn-close:active {
    background: rgba(255, 255, 255, 0.15);
}

.ngm-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    flex: 1;
}

.ngm-btn-create {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.ngm-btn-create:disabled {
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
}

.ngm-btn-create:not(:disabled):active {
    background: rgba(255, 255, 255, 0.15);
}

/* Group Profile Area */
.ngm-profile-section {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #FAFAFA;
    border-bottom: 1px solid #EAEAEA;
}

.ngm-avatar-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    cursor: pointer;
}

.ngm-avatar-preview {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #E8F0EA;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px dashed #4B8C61;
    transition: border-color 0.2s;
}

.ngm-avatar-preview.has-image {
    border-style: solid;
    border-color: #4B8C61;
}

.ngm-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ngm-avatar-icon {
    font-size: 26px;
    color: #4B8C61;
}

.ngm-avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1B4D3E;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.ngm-avatar-badge .material-icons-outlined {
    font-size: 14px;
}

.ngm-name-wrap {
    flex: 1;
}

.ngm-name-input {
    width: 100%;
    border: 1px solid #D9D9D9;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
    color: #1A1A1A;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ngm-name-input:focus {
    border-color: #1B4D3E;
    box-shadow: 0 0 0 2px rgba(27, 77, 62, 0.12);
}

/* Selected Members Chips */
.ngm-selected-chips {
    display: flex;
    gap: 10px;
    padding: 10px 16px;
    background: #ffffff;
    border-bottom: 1px solid #F0F0F0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.ngm-chip-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 52px;
    flex-shrink: 0;
}

.ngm-chip-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1B4D3E;
}

.ngm-chip-name {
    font-size: 11px;
    color: #555;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    margin-top: 3px;
}

.ngm-chip-remove {
    position: absolute;
    top: -2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E53935;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1.5px solid #fff;
}

.ngm-chip-remove .material-icons-outlined {
    font-size: 11px;
}

/* Search Box */
.ngm-search-wrap {
    padding: 10px 16px;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.ngm-search-box {
    display: flex;
    align-items: center;
    background: #F0F2F5;
    border-radius: 20px;
    padding: 7px 14px;
}

.ngm-search-box .material-icons-outlined {
    color: #888;
    font-size: 20px;
    margin-right: 8px;
}

.ngm-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #333;
}

.ngm-search-clear {
    background: none;
    border: none;
    color: #999;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.ngm-search-clear .material-icons-outlined {
    font-size: 18px;
    margin-right: 0;
}

/* Section label */
.ngm-section-label {
    padding: 10px 16px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Contact List */
.ngm-list {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.ngm-list::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Opera */
}

.ngm-contact-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #F6F6F6;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

.ngm-contact-item:hover {
    background: #F9FBF9;
}

.ngm-contact-item:active {
    background: #F0F4F1;
}

.ngm-checkbox {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #C4C4C4;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ngm-contact-item.selected {
    background: #F0F7F2;
}

.ngm-contact-item.selected .ngm-checkbox {
    background: #1B4D3E;
    border-color: #1B4D3E;
}

.ngm-contact-item.selected .ngm-checkbox::after {
    content: '';
    width: 9px;
    height: 5px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
    margin-bottom: 2px;
}

.ngm-contact-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1px solid #EAEAEA;
}

.ngm-contact-info {
    flex: 1;
    min-width: 0;
}

.ngm-contact-name {
    font-size: 15px;
    color: #1A1A1A;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ngm-contact-sub {
    font-size: 12px;
    color: #888888;
    margin-top: 2px;
}

/* Empty States */
.ngm-empty-search,
.ngm-empty-friends {
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ngm-empty-search>.material-icons-outlined,
.ngm-empty-friends>.material-icons-outlined {
    font-size: 64px;
    color: #D1D5DB;
    margin-bottom: 16px;
}

.ngm-empty-search p,
.ngm-empty-friends p {
    font-size: 15px;
    color: #6B7280;
    margin: 0 0 24px;
    line-height: 1.5;
    padding: 0 16px;
}

.ngm-btn-contacts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background: #1B4D3E;
    color: #ffffff !important;
    border-radius: 24px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 12px rgba(27, 77, 62, 0.2);
}

.ngm-btn-contacts:active {
    opacity: 0.85;
    transform: scale(0.96);
}

.ngm-btn-contacts .material-icons-outlined {
    font-size: 20px;
    color: #ffffff;
}

/* SHARE MODAL BOTTOM SHEET */
.natuh-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    visibility: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.natuh-share-modal.show {
    pointer-events: auto;
    visibility: visible;
}

.natuh-share-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.natuh-share-modal.show .natuh-share-overlay {
    opacity: 1;
}

.nsm-sheet {
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.3s;
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.natuh-share-modal.show .nsm-sheet {
    transform: translateY(0);
}

.nsm-handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 0 auto 16px auto;
}

.nsm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 8px;
}

.nsm-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nsm-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0F2F5;
    color: #333;
}

.nsm-icon-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.nsm-text {
    font-size: 12px;
    color: #333;
    text-align: center;
}

/* IN-APP PUSH NOTIFICATION BANNER (Mobile App Push Style) */
.inapp-push-container {
    position: fixed;
    top: 12px;
    left: 12px;
    right: 12px;
    max-width: 480px;
    margin: 0 auto;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.inapp-push-banner {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    padding: 10px 14px;
    gap: 12px;
    cursor: pointer;
    transform: translateY(-80px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    user-select: none;
}

.inapp-push-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.inapp-push-banner.hiding {
    transform: translateY(-80px);
    opacity: 0;
    pointer-events: none;
}

.inapp-push-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #1B4D3E;
    background: #E8F0EA;
}

.inapp-push-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inapp-push-content {
    flex: 1;
    min-width: 0;
}

.inapp-push-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.inapp-push-title {
    font-size: 14px;
    font-weight: 700;
    color: #123321;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

.inapp-push-time {
    font-size: 11px;
    color: #888888;
    margin-left: 6px;
    flex-shrink: 0;
}

.inapp-push-message {
    font-size: 13px;
    color: #444444;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.inapp-push-sender {
    font-weight: 600;
    color: #1B4D3E;
}

.inapp-push-close {
    background: none;
    border: none;
    padding: 4px;
    color: #999999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.inapp-push-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #333333;
}

.inapp-push-close .material-icons-outlined {
    font-size: 18px;
}

/* =========================================
   FANCYBOX LIGHTBOX HIGH Z-INDEX FIX
   ========================================= */
.fancybox-container {
    z-index: 9999999 !important;
}

.fancybox-bg {
    background: #000000 !important;
}

.fancybox-is-open .fancybox-bg {
    opacity: 0.94 !important;
}

.fancybox-toolbar {
    z-index: 9999999 !important;
}

.fancybox-navigation .fancybox-button {
    z-index: 9999999 !important;
}

/* ==========================================================================
   CUSTOMER TYPE REQUEST MODAL
   ========================================================================== */

.modal-type-request {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.modal-type-request.is-open {
    display: flex;
}

.modal-type-request * {
    box-sizing: border-box;
}

.modal-type-request__container {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16), 0 8px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: mtrSlideUp 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes mtrSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---- Header ---- */
.modal-type-request__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.modal-type-request__header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-type-request__header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #123321 0%, #6366f1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-type-request__header-icon .material-icons-outlined {
    font-size: 20px;
}

.modal-type-request__title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.modal-type-request__subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0;
}

.modal-type-request__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.modal-type-request__close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.modal-type-request__close .material-icons-outlined {
    font-size: 20px;
}

/* ---- Form / Body (scrollable) ---- */
.modal-type-request__form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-type-request__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Current type info strip */
.modal-type-request__current-type {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
}

.modal-type-request__current-type-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.modal-type-request__current-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1.5px solid;
}

.modal-type-request__current-type-badge .material-icons-outlined {
    font-size: 14px;
}

/* Section label */
.modal-type-request__section-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    letter-spacing: -0.1px;
}

.modal-type-request__section-label span {
    color: #ef4444;
    font-size: 14px;
}

/* Type Cards Grid */
.modal-type-request__type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.modal-type-request__type-card {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    background: #ffffff;
    user-select: none;
}

.modal-type-request__type-card:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.modal-type-request__type-card.is-current {
    border-color: #e2e8f0;
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.modal-type-request__type-card.is-selected {
    border-color: #123321;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.modal-type-request__type-radio {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    accent-color: #123321;
    cursor: pointer;
    flex-shrink: 0;
}

.modal-type-request__type-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.modal-type-request__type-icon.material-icons-outlined {
    font-size: 20px;
}

.modal-type-request__type-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

/* Textarea */
.modal-type-request__textarea {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 13.5px;
    resize: vertical;
    min-height: 90px;
    color: #1e293b;
    font-family: inherit;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    line-height: 1.5;
}

.modal-type-request__textarea:focus {
    border-color: #123321;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal-type-request__textarea::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

/* File Upload Zone */
.modal-type-request__upload-zone {
    display: block;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    background: #fafafa;
    transition: border-color 0.18s, background 0.18s;
    cursor: pointer;
}

.modal-type-request__upload-zone:hover {
    border-color: #123321;
    background: #eff6ff;
}

.modal-type-request__upload-icon {
    font-size: 32px;
    color: #94a3b8;
    display: block;
    margin-bottom: 6px;
}

.modal-type-request__upload-text {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    display: block;
    margin-bottom: 3px;
}

.modal-type-request__upload-hint {
    font-size: 11.5px;
    color: #94a3b8;
    display: block;
    margin-bottom: 10px;
}

.modal-type-request__upload-input {
    font-size: 12px;
    color: #64748b;
    width: 100%;
    cursor: pointer;
}

.modal-type-request__upload-zone.has-file {
    border-color: #22c55e;
    background: #f0fdf4;
}

.modal-type-request__upload-zone.has-file .modal-type-request__upload-icon {
    color: #1e4a30;
}

.modal-type-request__upload-filename {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e4a30;
    display: block;
    margin-bottom: 6px;
    word-break: break-all;
    padding: 0 8px;
}

/* ---- Footer ---- */
.modal-type-request__footer {
    padding: 14px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #f8fafc;
    flex-shrink: 0;
}

.modal-type-request__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
    border: none;
    font-family: inherit;
}

.modal-type-request__btn--cancel {
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
}

.modal-type-request__btn--cancel:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.modal-type-request__btn--submit {
    background: linear-gradient(135deg, #123321 0%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.modal-type-request__btn--submit:hover {
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.modal-type-request__btn--submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.modal-type-request__btn .material-icons-outlined {
    font-size: 16px;
}