:root {
    --primary-green: #37a16b;
    --primary-green-hover: #2e8b5a;
    --text-dark: #111827;
    --text-gray: #4b5563;
    --text-light-gray: #9ca3af;
    --bg-light: #f3f4f6;
    --bg-input: #f9fafb;
    --border-color: #e5e7eb;
    --border-input: #d1d5db;
    --white: #ffffff;
    --logo-gold: #fbbf24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Geist Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111827;
    background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--text-dark);
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.85));
    z-index: 1;
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    /* padding: 20px; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card {
    background-color: var(--white);
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.login-content {
    padding: 40px 32px 0px;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.logo-image {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.portal-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

.portal-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-light-gray);
    margin-bottom: 32px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-light-gray);
    font-size: 14px;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 38px;
    border: 1px solid var(--bg-input);
    background-color: var(--bg-input);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
    font-family: inherit;
    transition: border-color 0.2s, background-color 0.2s;
}

.input-wrapper input::placeholder {
    color: var(--text-light-gray);
    font-size: 13px;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: var(--white);
    box-shadow: 0 0 0 2px rgba(55, 161, 107, 0.1);
}

.password-toggle {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-light-gray);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--text-gray);
}

.form-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
    margin-bottom: 4px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    padding-left: 24px;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input~.checkmark {
    border-color: var(--text-light-gray);
}

.custom-checkbox input:checked~.checkmark {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-link {
    font-size: 13px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    font-family: inherit;
    margin-top: 4px;
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-green-hover);
}

.btn-primary:active {
    transform: scale(0.98);
}

.login-footer-card {
    background-color: var(--bg-light);
    padding: 24px 32px;
    text-align: center;
}

.login-footer-card p {
    font-size: 13px;
    color: var(--text-light-gray);
    margin-bottom: 16px;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    width: 100%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: var(--bg-input);
}

.page-footer {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.page-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.page-footer a:hover {
    color: var(--white);
}

.page-footer .separator {
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 480px) {
    .login-content {
        padding: 30px 24px 24px;
    }

    .login-footer-card {
        padding: 20px 24px;
    }
}

/* =========================================
   DASHBOARD SPECIFIC STYLES
   ========================================= */

body.dashboard-body {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-color: #f9fafb;
    background-image: none;
    color: var(--text-dark);
    margin: 0;
    align-items: stretch;
    justify-content: flex-start;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: var(--white);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-text,
.sidebar.collapsed .nav-heading,
.sidebar.collapsed .user-info {
    display: none;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
    padding: 0;
}

.sidebar.collapsed .logo-wrapper {
    display: none;
}

.sidebar-header {
    height: 70px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-logo {
    height: 28px;
    width: auto;
}

.logo-text {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.sidebar.collapsed .sidebar-toggle-btn {
    transform: rotate(180deg);
}

.sidebar-navs {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-light-gray);
    margin-bottom: 8px;
    padding: 0 20px;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: all 0.2s;
}

.sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 12px 0;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-green);
    background-color: rgba(55, 161, 107, 0.05);
}

.nav-icon {
    width: 20px;
    margin-right: 12px;
    font-size: 15px;
    text-align: center;
}

.sidebar.collapsed .nav-icon {
    margin-right: 0;
    font-size: 18px;
}

.active-indicator {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-green);
    display: none;
}

.nav-item.active .active-indicator {
    display: block;
}

.sidebar.collapsed .active-indicator {
    right: 4px;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
}

.user-profile,
.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-light);
    padding: 8px 12px;
    border-radius: 8px;
    width: 100%;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.user-profile-btn:hover {
    background-color: var(--white);
    border-color: var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

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

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

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.user-role {
    font-size: 11px;
    color: var(--text-light-gray);
}

.sidebar.collapsed .user-profile,
.sidebar.collapsed .user-profile-btn {
    background-color: transparent;
    padding: 8px 0;
    justify-content: center;
    border-color: transparent;
    box-shadow: none;
}

.sidebar.collapsed .user-profile-btn .user-info,
.sidebar.collapsed .user-profile-btn .fa-ellipsis-vertical {
    display: none;
}

/* Main Content Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.topbar {
    height: 70px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    flex-shrink: 0;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-bar {
    position: relative;
    width: 380px;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-light-gray);
    font-size: 14px;
}

.search-bar input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-input);
    font-size: 13px;
    color: var(--text-dark);
    font-family: inherit;
    transition: all 0.2s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: var(--white);
    box-shadow: 0 0 0 2px rgba(55, 161, 107, 0.1);
}

.notification-btn {
    background: white;
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s;
}

.notification-btn:hover {
    background-color: var(--bg-input);
}

.notification-wrapper {
    position: relative;
    display: inline-block;
}

.notification-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 300px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
    flex-direction: column;
}

.notification-dropdown.show {
    display: flex;
}

.dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-list {
    max-height: 250px;
    overflow-y: auto;
}

.dropdown-item {
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--bg-input);
}

.dropdown-item-content p {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.dropdown-item-content span {
    font-size: 11px;
    color: var(--text-light-gray);
}

.dropdown-footer {
    padding: 12px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.view-all-btn {
    background: transparent;
    border: none;
    color: var(--primary-green);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.view-all-btn:hover {
    text-decoration: underline;
}

.btn-raise-ticket {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-top: 0;
    gap: 8px;
    transition: background-color 0.2s;
}

.btn-raise-ticket:hover {
    background-color: var(--primary-green-hover);
}

/* Dashboard Content Body */
.content-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-light-gray);
}

.period-toggles {
    display: flex;
    background-color: #e5e7eb;
    padding: 3px;
    border-radius: 8px;
}

.period-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-gray);
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.period-btn:hover:not(.active) {
    color: var(--text-dark);
    background-color: rgba(255, 255, 255, 0.5);
}

.period-btn.active {
    background-color: var(--white);
    color: var(--text-dark);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.small-toggles {
    display: flex;
    background-color: #e5e7eb;
    padding: 2px;
    border-radius: 6px;
}

.small-btn {
    background: transparent;
    border: none;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.small-btn:hover:not(.active) {
    color: var(--text-dark);
    background-color: rgba(255, 255, 255, 0.5);
}

.small-btn.active {
    background-color: var(--white);
    color: var(--text-dark);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Base Card Styles */
.card {
    background-color: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.card-header.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 12px;
    color: var(--text-light-gray);
}

.view-details-link {
    font-size: 12px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.view-details-link:hover {
    text-decoration: underline;
}

.card-body {
    padding: 20px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background-color: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: rgba(55, 161, 107, 0.5);
    /* subtle green border */
    cursor: pointer;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.stat-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
}

.stat-icon-wrapper {
    width: 28px;
    height: 28px;
    background-color: #f0fdf4;
    color: var(--primary-green);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.stat-icon-wrapper i.fa-bolt {
    color: var(--primary-green);
}

.stat-icon-wrapper i.fa-ticket {
    color: var(--text-gray);
    background: transparent;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.stat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.trend {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trend.positive {
    color: var(--primary-green);
}

.trend.neutral {
    color: var(--text-light-gray);
}

.trend.negative {
    color: #ef4444;
}

.period-label {
    color: var(--text-light-gray);
}

/* Main Grid (Chart + Highlights) */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.chart-container {
    display: flex;
    flex-direction: column;
}

.highlights-container {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.highlights-header {
    padding-bottom: 8px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    padding: 0 20px 20px 20px;
    flex: 1;
}

.highlight-box {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.highlight-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
    cursor: pointer;
}

.highlight-label {
    font-size: 11px;
    color: var(--text-light-gray);
    margin-bottom: 6px;
}

.highlight-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.highlight-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 12px;
}

.highlight-icon.green {
    color: var(--primary-green);
}

.highlight-desc {
    font-size: 11px;
    color: var(--text-gray);
}

/* Bottom Grid (Table + Side Lists) */
.bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.table-responsive {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th {
    text-align: left;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light-gray);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-table td {
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-table.table-hover tbody tr {
    transition: background-color 0.2s ease;
}

.dashboard-table.table-hover tbody tr:hover {
    background-color: var(--bg-input);
    cursor: pointer;
}

.dashboard-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.status-badge.success {
    background-color: #f0fdf4;
    color: #166534;
}

.status-badge.warning {
    background-color: #fffbeb;
    color: #92400e;
}

.list-body {
    padding: 12px 20px;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
    border-radius: 6px;
}

.list-item:hover {
    background-color: var(--bg-input);
    cursor: pointer;
}

.list-item:last-child {
    border-bottom: none;
}

.list-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.list-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    margin-right: 12px;
    color: black;
}

.green-bg {
    background-color: #dcfce7;
}

.gray-bg {
    background-color: #f3f4f6;
}

.list-content h4 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.list-content p {
    font-size: 11px;
    color: var(--text-light-gray);
}

.list-time,
.list-value {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-light-gray);
    font-weight: 500;
}

.list-value {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 13px;
}

.mt-20 {
    margin-top: 20px;
}

/* =========================================
   BOOKINGS PAGE SPECIFIC STYLES
   ========================================= */

.wrapper-bookings-page {
    background-color: #f9fafb;
    padding: 24px;
}

.bookings-card {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px);
}

.bookings-header-area {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border-color);
}

.bookings-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 24px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background-color: #fafafa;
}

.filter-item {
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    height: 40px;
}

.filter-item:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(55, 161, 107, 0.1);
}

.filter-inner-icon {
    position: absolute;
    left: 12px;
    color: var(--text-light-gray);
    font-size: 13px;
}

.bkg-filter-input {
    border: none;
    background: transparent;
    height: 100%;
    padding: 0 12px;
    font-size: 13px;
    color: var(--text-dark);
    font-family: inherit;
    width: 100%;
}

.bkg-filter-input:focus {
    outline: none;
}

.search-filter {
    flex: 1;
    min-width: 250px;
}

.search-filter .bkg-filter-input {
    padding-left: 32px;
}

.date-filter {
    width: 170px;
    display: flex;
    align-items: center;
    padding-left: 12px;
    cursor: pointer;
}

.filter-label {
    font-size: 13px;
    color: var(--text-gray);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-filter .bkg-filter-input {
    padding-left: 8px;
    color: var(--text-dark);
}

/* Hide default calendar icon on some browsers if customized */
.date-filter input[type="date"]::-webkit-inner-spin-button,
.date-filter input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.source-filter {
    width: 160px;
    padding-left: 12px;
}

.source-filter select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 30px;
}

.btn-export-container {
    border: none;
    background: transparent;
    margin-left: auto;
}

.btn-export {
    background-color: #f3f4f6;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 0 16px;
    height: 40px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-export:hover {
    background-color: #e5e7eb;
}

/* Table Specifics */
.sortable-table th {
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.sortable-table th:hover {
    background-color: #f3f4f6;
    color: var(--primary-green);
}

.sort-icon {
    font-size: 10px;
    margin-left: 4px;
    color: var(--text-light-gray);
    opacity: 0.5;
}

.sortable-table th:hover .sort-icon {
    opacity: 1;
}

.td-content {
    display: flex;
    flex-direction: column;
}

.td-content strong {
    font-weight: 500;
    font-size: 13px;
    color: #1a1a1a;
}

.td-content .subtext {
    font-size: 11px;
    color: var(--text-light-gray);
    margin-top: 2px;
}

.bkg-id {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 13px;
}

.source-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.api-dot {
    background-color: var(--primary-green);
}

.portal-dot {
    background-color: var(--primary-green);
}

.offline-dot {
    background-color: #fbbf24;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-view-details {
    background-color: rgba(55, 161, 107, 0.1);
    color: var(--primary-green);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-view-details:hover {
    background-color: var(--primary-green);
    color: white;
}

.btn-ticket-icon {
    background-color: rgba(251, 191, 36, 0.1);
    color: #d97706;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ticket-icon:hover {
    background-color: #fbbf24;
    color: white;
}

.table-hover tbody tr {
    transition: background-color 0.15s ease-in-out;
}

.table-hover tbody tr:hover td {
    background-color: rgba(55, 161, 107, 0.04) !important;
}

/* Pagination Row */
.bkg-pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.bkg-entries-info {
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

.entries-select-dropdown {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 13px;
    color: var(--text-dark);
    background-color: white;
    cursor: pointer;
}

.bkg-pagination-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bkg-page-btn {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s;
}

.bkg-page-btn:hover:not(.active) {
    background-color: #f3f4f6;
}

.bkg-page-btn.active {
    background-color: var(--primary-green);
    color: white;
    font-weight: 600;
}

.bkg-page-dots {
    color: var(--text-light-gray);
    margin: 0 4px;
}

/* Offcanvas custom styles */
.offcanvas {
    font-family: inherit;
}

.offcanvas-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
}

.offcanvas-title {
    font-size: 18px;
    font-weight: 600;
}

.offcanvas-body {
    padding: 24px;
}

.oc-section {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.oc-section h6 {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-light-gray);
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.oc-section p {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
}

.oc-section p strong {
    color: var(--text-gray);
    font-weight: 500;
}

/* Modal custom styles */
.bkg-modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.bkg-modal-content .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
}

.bkg-modal-content .modal-title {
    font-weight: 600;
    font-size: 18px;
}

.bkg-modal-content .modal-body {
    padding: 24px;
}

.bkg-modal-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.bkg-modal-input {
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid var(--border-input);
    border-radius: 6px;
    background-color: var(--bg-input);
}

.bkg-modal-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(55, 161, 107, 0.1);
    background-color: var(--white);
}

.bkg-modal-submit {
    background-color: var(--primary-green);
    border: none;
}

.bkg-modal-submit:hover {
    background-color: var(--primary-green-hover);
}

/* =========================================
   ACTIVITIES PAGE SPECIFIC STYLES
   ========================================= */
.wrapper-activities-page {
    background-color: #f9fafb;
    padding: 24px;
}

.activities-header-area {
    padding: 0 0 16px 0;
}

.activities-filters-card {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 16px 24px;
    margin-bottom: 24px;
}

.act-search-row {
    position: relative;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    height: 48px;
    background-color: var(--bg-input);
    transition: all 0.2s;
}

.act-search-row:focus-within {
    border-color: var(--primary-green);
    background-color: var(--white);
    box-shadow: 0 0 0 2px rgba(55, 161, 107, 0.1);
}

.act-search-input {
    border: none;
    background: transparent;
    padding: 0 16px 0 40px;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: var(--text-dark);
}

.act-search-input:focus {
    outline: none;
}

.act-search-row .filter-inner-icon {
    left: 16px;
    font-size: 16px;
}

.custom-act-select {
    font-size: 13px;
    color: var(--text-dark);
    height: 40px;
    border-color: var(--border-color);
    cursor: pointer;
}

.custom-act-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(55, 161, 107, 0.1);
}

.theme-dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 8px 0;
    width: 200px;
}

.theme-checkbox-item {
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-checkbox-item:hover {
    background-color: #f3f4f6;
}

.theme-checkbox-item input {
    cursor: pointer;
}

.theme-checkbox-item label {
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 500;
}

.sort-icon-absolute {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 13px;
    pointer-events: none;
}

/* Activity Card Elements */
.activity-card {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-body-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.act-loc {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.act-id {
    font-size: 11px;
}

.act-title {
    font-size: 16px;
    font-weight: 700;
    margin: 12px 0 10px;
    line-height: 1.4;
    color: #1a1a1a;
}

.act-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.act-tag {
    background-color: #f3f4f6;
    color: var(--text-gray);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.price-box {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-label {
    font-size: 11px;
    color: var(--text-light-gray);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.price-value {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 700;
}

.act-actions {
    display: flex;
    gap: 8px;
}

.btn-outline-custom {
    background-color: rgba(55, 161, 107, 0.05);
    color: var(--primary-green);
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-outline-custom:hover {
    background-color: var(--primary-green);
    color: white;
}

.btn-primary-custom {
    background-color: var(--primary-green);
    color: white;
    border: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary-custom:hover {
    background-color: var(--primary-green-hover);
}

/* Offcanvas custom for wide Activities pane */
.act-wide-offcanvas {
    width: 480px !important;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #d1d5db;
}

/* Hidden number input spin controls for Booking Modal layout */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

/* =========================================
   API MANAGEMENT SPECIFIC STYLES
   ========================================= */

.api-top-actions {
    display: flex;
    gap: 12px;
}

.api-top-actions .btn {
    font-size: 13px;
    font-weight: 600;
}

.btn-soft-green {
    background-color: rgba(55, 161, 107, 0.1);
    color: var(--primary-green);
    border: none;
    transition: all 0.2s;
}

.btn-soft-green:hover {
    background-color: rgba(55, 161, 107, 0.2);
    color: var(--primary-green-hover);
}

.api-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.api-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
}

.api-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.api-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.api-card-desc {
    font-size: 12px;
    color: var(--text-light-gray);
}

.env-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.env-badge.live {
    background-color: rgba(55, 161, 107, 0.1);
    color: var(--primary-green);
}

.env-badge.sandbox {
    background-color: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.key-section {
    margin-bottom: 24px;
}

.key-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.key-section-title {
    font-size: 14px;
    font-weight: 600;
}

.key-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0 12px;
}

.key-input-wrapper.bg-light {
    background: #fafafa;
}

.key-input-wrapper input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-family: monospace;
    font-size: 13px;
    color: var(--text-dark);
}

.key-input-wrapper input:focus {
    outline: none;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-light-gray);
    cursor: pointer;
    padding: 8px;
}

.copy-btn:hover {
    color: var(--text-dark);
}

.key-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.key-stat-box {
    background: #f9fafb;
    border-radius: 6px;
    padding: 12px;
}

.key-stat-label {
    font-size: 11px;
    color: var(--text-light-gray);
    margin-bottom: 4px;
}

.key-stat-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.api-card-actions {
    display: flex;
    gap: 12px;
}

.usage-progress-container {
    margin: 20px 0;
}

.usage-progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.usage-progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.usage-progress-fill {
    height: 100%;
    background: var(--primary-green);
    border-radius: 4px;
}

.dev-resource-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.dev-resource-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.2s;
}

.dev-resource-item:hover {
    background: #f3f4f6;
}

.dev-resource-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.dev-resource-icon {
    color: var(--primary-green);
    font-size: 16px;
    margin-top: 2px;
}

.dev-resource-info h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.dev-resource-info p {
    font-size: 12px;
    color: var(--text-light-gray);
    margin: 0;
}

.dev-resource-arrow {
    color: var(--text-light-gray);
}

.help-text-area {
    padding-right: 24px;
}

.help-text-area h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.help-text-area>p {
    font-size: 13px;
    color: var(--text-light-gray);
    margin-bottom: 24px;
}

.help-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.help-point {
    font-size: 13px;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
}

.api-registry-table th {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-light-gray);
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.api-registry-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.api-registry-table tr:last-child td {
    border-bottom: none;
}

.registry-name-cell p {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.registry-name-cell span {
    font-size: 11px;
    color: var(--text-light-gray);
}

.registry-token-box {
    background: #f9fafb;
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    display: inline-block;
}


/* =========================================
   USER MANAGEMENT SPECIFIC STYLES
   ========================================= */

.um-kpi-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.um-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.um-kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.um-kpi-title {
    font-size: 13px;
    color: var(--text-light-gray);
    font-weight: 500;
}

.um-kpi-icon {
    width: 32px;
    height: 32px;
    background: rgba(55, 161, 107, 0.1);
    color: var(--primary-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.um-kpi-icon.gray {
    background: #f3f4f6;
    color: var(--text-gray);
}

.um-kpi-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.um-kpi-subtitle {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.um-kpi-subtitle.positive {
    color: var(--primary-green);
}

.um-kpi-subtitle.warning {
    color: #d97706;
}

.um-kpi-subtitle.neutral {
    color: var(--text-light-gray);
}

.um-main-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.um-table-container {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.um-details-container {
    width: 320px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    flex-shrink: 0;
}

.um-table-header,
.um-details-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.um-table-title,
.um-details-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.um-table-subtitle {
    font-size: 12px;
    color: var(--text-light-gray);
}

.um-table th {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-light-gray);
    font-weight: 600;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
}

.um-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    transition: background-color 0.2s;
}

.um-table tbody tr {
    cursor: pointer;
}

.um-table tbody tr:hover td {
    background-color: #f9fafb;
}

.um-table tbody tr.selected td {
    background-color: rgba(55, 161, 107, 0.05);
}

.um-table tbody tr.selected td:first-child {
    box-shadow: inset 3px 0 0 var(--primary-green);
}

.um-user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.um-user-info h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.um-user-info p {
    font-size: 12px;
    color: var(--text-light-gray);
    margin: 0;
}

.um-details-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.um-profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.um-profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.um-profile-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.um-profile-email {
    font-size: 13px;
    color: var(--text-light-gray);
    margin-bottom: 8px;
}

.um-section-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-light-gray);
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.um-role-box {
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.um-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
}

.um-info-label {
    color: var(--text-light-gray);
}

.um-info-value {
    color: var(--text-dark);
    font-weight: 500;
}

.um-actions-section {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-light-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: none;
}

.btn-light-danger:hover {
    background: #ef4444 !important;
}

.btn-light-neutral {
    background: #f3f4f6;
    color: var(--text-dark);
    border: none;
}

.btn-light-neutral:hover {
    background: #e5e7eb !important;
    color: var(--text-dark) !important;
}

.um-action-btn {
    width: 100%;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add New User Modal Specifics */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light-gray);
    pointer-events: none;
}

.input-with-icon .form-control {
    padding-left: 36px;
}

.add-user-input {
    background-color: #f9fafb !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-dark);
}

.add-user-input::placeholder {
    color: #cbd5e1;
}

.add-user-input:focus {
    background-color: #fff !important;
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 0.2rem rgba(55, 161, 107, 0.25) !important;
}

/* Custom switch for the modal */
.custom-switch-green .form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* Modal Cancel Button */
.modal-cancel-btn {
    transition: all 0.2s ease !important;
}

.modal-cancel-btn:hover {
    background-color: var(--primary-green) !important;
    color: var(--white) !important;
    border-color: var(--primary-green) !important;
}

/* =========================================
   SETTINGS SPECIFIC STYLES
   ========================================= */

.settings-layout {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.settings-sidebar {
    width: 250px;
    border-right: 1px solid var(--border-color);
    padding: 24px 16px;
    background-color: var(--white);
    flex-shrink: 0;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-nav-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 6px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.settings-nav-item:hover {
    background-color: rgba(243, 244, 246, 1);
    color: var(--text-dark);
}

.settings-nav-item.active {
    background-color: rgba(55, 161, 107, 0.08);
    /* Primary green light background for active sub-menu */
    color: var(--text-dark);
    font-weight: 600;
}

.settings-nav-item.active .settings-nav-icon {
    color: var(--text-dark);
}

.settings-nav-icon {
    width: 20px;
    margin-right: 12px;
    font-size: 14px;
    text-align: center;
    color: var(--text-light-gray);
}

.settings-content {
    flex: 1;
    padding: 32px 48px;
    overflow-y: auto;
    background-color: var(--white);
    /* It looks like white with cards having border */
}

/* In the image, the background of settings-content is white */

.settings-header {
    margin-bottom: 24px;
}

.settings-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.settings-header p {
    font-size: 13px;
    color: var(--text-light-gray);
    margin: 0;
}

.settings-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.settings-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.settings-card-subtitle {
    font-size: 13px;
    color: var(--text-light-gray);
    margin-bottom: 24px;
}

.profile-picture-section {
    display: flex;
    align-items: center;
    gap: 24px;
}

.profile-picture-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-picture-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-upload-new {
    background-color: rgba(55, 161, 107, 0.1);
    color: var(--primary-green);
    border: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-upload-new:hover {
    background-color: rgba(55, 161, 107, 0.2);
    color: var(--primary-green);
}

.btn-remove-picture {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-remove-picture:hover {
    background-color: var(--white);
    color: #ef4444;
    /* danger style */
    border-color: #ef4444;
    /* danger style */
}

.upload-hint {
    font-size: 12px;
    color: var(--text-light-gray);
}

.settings-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.settings-input {
    font-size: 13px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-input);
    color: var(--text-dark);
}

.settings-input:focus {
    background-color: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(55, 161, 107, 0.1);
}

.settings-input.with-icon {
    padding-left: 38px;
}

.settings-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light-gray);
    font-size: 14px;
    z-index: 10;
}

.settings-input-icon.disabled {
    color: #d1d5db;
}

.settings-input:disabled {
    background-color: #f3f4f6;
    color: var(--text-gray);
    cursor: not-allowed;
}

.settings-form-actions {
    background-color: #f9fafb;
    border: 1px solid var(--border-color);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -24px;
    margin-bottom: 24px;
}

.unsaved-changes-text {
    font-size: 13px;
    color: var(--text-light-gray);
}

.btn-cancel-changes,
.btn-discard-changes,
.btn-remove-picture,
.btn-revoke-session {
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-cancel-changes:hover,
.btn-discard-changes:hover,
.btn-remove-picture:hover,
.btn-revoke-session:hover {
    background-color: var(--white);
    color: #ef4444;
    border-color: #ef4444;
}

.btn-save-changes {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-save-changes:hover {
    background-color: var(--primary-green-hover);
    color: var(--white);
}

.btn-danger-action {
    background-color: #ef4444;
    color: var(--white);
    border: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-danger-action:hover {
    background-color: #dc2626;
    color: var(--white);
}

.settings-role-hint {
    font-size: 13px;
    color: var(--text-light-gray);
}