/* Main Stylesheet - Common Components */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--color-text-primary);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

/* Page Layout */
.page {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    flex: 0 0 var(--sidebar-width);
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-sidebar-bg);
    transition: width var(--transition-base);
    overflow: hidden;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
    flex: 0 0 var(--sidebar-collapsed-width);
}

.sidebar-header {
    padding: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo-circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    background-color: var(--color-secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle img {
    width: 20px;
    height: 20px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nav-section {
    margin-bottom: var(--space-xl);
}

.nav-section-title,
.nav-label {
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    padding: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-sm);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    color: var(--color-sidebar-item);
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border-left: 3px solid transparent;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

.nav-item:hover {
    background: rgba(227, 165, 53, 0.1);
    color: var(--color-sidebar-item-hover);
    border-left-color: var(--color-sidebar-item-hover);
}

.nav-item.active {
    background: rgba(227, 165, 53, 0.15);
    color: var(--color-sidebar-item-active);
    border-left-color: var(--color-sidebar-item-active);
}

.nav-item-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item-text {
    flex: 1;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Top Bar */
.topbar,
.top-row {
    height: var(--topbar-height);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-xl);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.top-row span,
.top-row label {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.25rem 0;
}

/* Page Content */
.content,
.page-content {
    flex: 1;
    padding: var(--space-xl);
    overflow: auto;
    /*margin-left: 20px;*/
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    min-height: 36px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--color-primary);
    color: #000;
}

.btn-primary:hover:not(:disabled) {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--color-surface-elevated);
}

.btn-danger {
    background: var(--color-error);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: #DC2626;
    transform: translateY(-1px);
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-xs);
    min-height: 32px;
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
    min-height: 44px;
}

.btn-outline {
    position: relative;
    z-index: 0;
    background-color: transparent;
    border: 1px solid var(--color-button-outline);
    color: var(--color-text-primary);
}

.btn-outline:hover:not(:disabled) {
    background-color: var(--color-surface-elevated);
}

.create-brief-btn,
.create-brief-button {
    height: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-secondary-dark);
    color: #fff;
    cursor: pointer;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    transition: all var(--transition-base);
}

.create-brief-btn:hover,
.create-brief-button:hover {
    background: var(--color-secondary);
}

.brief-next-btn {
    width: 92px;
    height: 39px;
    border-radius: var(--radius-sm);
    background: var(--color-primary-dark);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: var(--font-size-sm);
    border: none;
}

.brief-next-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Cards */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    box-shadow: none;
}

    .card:hover {
        box-shadow: none;
    }

.card-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.card-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}

.card-subtitle {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
}

.small-card {
    border: 1px solid var(--color-border);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    padding: var(--space-lg);
}

.small-card.selected {
    border: 3px solid var(--color-primary-light) !important;
}

.small-card .description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text-secondary);
    line-height: 1.4;
    max-height: 2.8em;
}

/* Brand Badge */
.brand-badge {
    background-color: var(--color-primary-tint);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.brand-badge span {
    font-weight: bold;
    font-size: var(--font-size-sm);
    color: var(--color-primary-light);
}

/* Form Elements */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family-primary);
    color: var(--color-text-primary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    height: 3.25rem;
    resize: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-tint);
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-error {
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: var(--space-sm);
}

/* Tables */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
}

.table thead {
    background: var(--color-surface-elevated);
}

.table th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}

.table td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.table tbody tr:hover {
    background: rgba(227, 165, 53, 0.05);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Alerts */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--color-success);
    color: var(--color-success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--color-error);
    color: var(--color-error);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--color-warning);
    color: var(--color-warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--color-info);
    color: var(--color-info);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--color-success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--color-warning);
}

.badge-error {
    background: rgba(239, 68, 68, 0.2);
    color: var(--color-error);
}

.badge-info {
    background: rgba(59, 130, 246, 0.2);
    color: var(--color-info);
}

.tags-brand-badge {
    background-color: var(--color-background);
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 0.85rem;
}

.badge-inprogress {
    background: rgba(59, 130, 246, 0.2);
    color: var(--color-info);
}

/* Modal */
.modal-title {
    font-family: "Gilroy", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #00131F;
    margin: 0;
    margin-left: 24px;
    margin-top: 24px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: var(--space-sm);
    transition: color var(--transition-base);
}

.modal-close:hover {
    color: var(--color-text-primary);
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal {
    width: 40%;
    max-width: 640px;
    min-width: 420px;
    background: var(--color-surface);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;

    max-height: 80vh; /* ✅ limit overall modal height */
    overflow: hidden;
}


.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%; /* ✅ important */
}


/* fixed sections */
.modal-footer {
    display: flex;
    flex-shrink: 0;
    padding: 16px 20px;
    justify-content: flex-end;
    gap: 20px;

}


    .modal-footer .btn {
        height: 32px; /* ✅ smaller height */
        padding: 4px 12px; /* ✅ reduce vertical padding */
        font-size: 14px; /* optional */
        display: flex;
        align-items: center; /* ✅ keep text vertically centered */
    }


/* flexible body */
.modal-body {
    flex: 1;
    padding: 12px 20px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}


    .modal-body:hover {
        scrollbar-width: thin; /* Firefox */
    }

        /* Chrome / Safari */
        .modal-body:hover::-webkit-scrollbar {
            width: 6px;
        }


/* ✅ add scroll Only when needed */
.modal.scroll .modal-body {
    overflow-y: auto;
    max-height: 55vh;
}

/* User Dropdown */
.user-menu {
    position: relative;
}

.user-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: background var(--transition-base);
}


.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + var(--space-sm));
    right: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    z-index: var(--z-dropdown);
    animation: slideDown var(--transition-fast);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    color: var(--color-text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition-base);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: var(--font-size-sm);
}

.dropdown-item:hover {
    background: var(--color-surface-elevated);
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(227, 165, 53, 0.3);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Utility Classes */
.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-primary { color: var(--color-primary); }
.text-success { color: var(--color-success); }
.text-error,
.text-destructive { color: var(--color-error); }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    main {
        margin-left: 0;
    }
    
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

.custom-check-btn {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    padding: 5px 10px;
    gap: 10px;
    border: 1px solid #CED3D6 !important;
    border-radius: 6px;
    background-color: transparent;
    box-sizing: border-box;
    cursor: pointer;
}

.custom-check-btn input[type="checkbox"] {
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid #CED3D6;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.custom-check-btn input[type="checkbox"]:checked {
    background-color: #745929;
    border-color: #745929;
}

.custom-check-btn input[type="checkbox"]:checked::after {
    content: "✔";
    color: white;
    font-size: 11px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* centers the checkmark */
    line-height: 1;
}

/* Base radio button style */
.bootstrap-scope .form-check-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #CED3D6;
    border-radius: 50%; /* round shape for radio */
    cursor: pointer;
    position: relative;
}

    /* Checked state with custom theme color */
.bootstrap-scope .form-check-input:checked {
    background-color: #00131F !important; /* your theme color */
    border-color: #00131F !important;
}

/* Inner dot for checked radio */
    .bootstrap-scope .form-check-input:checked::after {
        content: "";
        width: 8px;
        height: 8px;
        background-color: white; /* white dot inside */
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


.radio-option {
    display: block;
    border: 1px solid #CED3D6;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover effect */
.radio-option:hover {
    border-color: #745929;
}

/* Selected state */
.radio-option.selected {
    border-color: #C1C3C4 !important;
    background-color: #F0F0F0 !important;
}

.radio-option.selected .option-label {
    color: #00131F;
    font-weight: 600;
}

/* Custom radio button theme */
.radio-option .form-check-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #CED3D6;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

    .radio-option .form-check-input:checked {
        background-color: #F3F4F5 !important;
        border-color: #00131F !important;
    }

.radio-option .form-check-input:checked::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-back-common {
    border-radius: 8px;
    border-width: 1px;
    gap: 10px;
    padding-right: 16px;
    padding-left: 16px;
    background-color: #F3F4F5 !important;
    color: #1A3547 !important;
    border-color: #2B069540!important;
}

.btn-next-common {
    border-radius: 4px;
    gap: 10px;
    padding-right: 16px;
    padding-left: 16px;
    background-color: #745929 !important;
    color: #ffffff !important;
}

.btn-next-common:disabled {
    background-color: #CED3D6; /* Grey when disabled */
    color: #8E9A9F;
    cursor: not-allowed;
}

.accordion-header {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    width: 100%;
    cursor: pointer;
    border: none;
    text-align: left;
}

.bootstrap-scope .accordion-body {
    padding: 1rem 0rem;
}

.dashboard-circle-svg {
    width: 40px;
    height: 40px;
    gap: 10px;
    border-style: solid;
    border-radius: 50%;
    border-width: 1px;
    padding: 10px;
    background-color: #F0F0F0;
    border-color: #CED3D6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-quickactions {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    transition: all 0.2s;
    margin-bottom:1rem;
}

.card-quickactions .card-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.card-quickactions .action-buttons {
    margin-top: 16px;
}

.card-quickactions .action-btn {
    text-decoration: none;
    height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tags-brand-badge-dash {
    background-color: #F6F6F6;
    padding-top: 4px;
    padding-right: 8px;
    padding-bottom: 4px;
    padding-left: 8px;
    border-radius: 8px;
    border-width: 1px;
    border-style: solid;
    border-color: #CED3D6;
    color: #00131F;
    font: 600;
    font-size:12px;
}

.create-brief-btn {
    background: linear-gradient( 90deg, #3A5161 0%, #638AA6 100% )!important;
    border: none;
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 4px;
    height: 48px;
    font-weight: 600;
}

.create-brief-btn:hover:not(:disabled) {
    opacity: 0.95;
    transform: translateY(-1px);
}

.create-brief-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.country-language-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.flags-row {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.country-flag {
    width: 70px;
    height: 45px;
    object-fit: cover;
}

.language-row {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    margin-top:5px;
}

.lang-tag {
    height: 20px;
    padding: 2px 4px;
    border: 1px solid #D6D6D6;
    border-radius: 4px;
    background: #FAFAFA;
    color: #7A7A7A;
    font-size: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap; /* keep EN-CA in one line */
    width: auto; /* width based on content */
    box-sizing: border-box;
}

.lang-star {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
}

.language-row .lang-tag:last-child {
}

.dropaction-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
}

    .dropaction-btn:hover {
        background: #EEEEEE;
    }


.disabled-nav-item {
    pointer-events: none;
    cursor:not-allowed;
    opacity: 0.5;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.confirm-modal {
    width: 40%;
    max-width: 640px;
    min-width: 420px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 10001;
}

.confirm-modal-header {
    height: 70px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E6E6E6;
}

.confirm-modal-body {
    padding: 24px;
    min-height: 100px;
}

.confirm-modal-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.confirm-modal-icon {
    width: 48px;
    height: 48px;
}

.confirm-modal-message {
    margin: 0;
    color: #00131F;
    font-size: 14px;
    line-height: 22px;
    flex: 1;
}

.confirm-modal-footer {
    height: 80px;
    padding: 0 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #E6E6E6;
}

.btn-Click-Save {
    width: auto;
    height: 40px;
    padding: 0 16px;
    border-radius: 4px;
    border: 1px solid rgba(43, 6, 149, 0.25);
    background: #FAFAFF;
    color: #2B0695;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-Click-Save:hover {
        background: #F3F0FF;
        border-color: #2B0695;
    }

    .btn-Click-Save:active {
        transform: translateY(1px);
    }

    .btn-Click-Save:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
