:root {
    --primary-color: #A88F52;
    --white: #fff;
    --dark-bg: #0D101E;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: none;
    color: #A88F52;
    transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    margin: 0;
    padding: 0;
}

/* login screen css  */
body {
    overflow-x: hidden;
}

.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../images/auth-bg.png');
}

.login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.login-left {
    flex: 2;
    position: relative;
    overflow: hidden;
}


.login-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 200px;
}

.login-logo img {
    height: auto;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    padding: 60px 200px 0px 0px;
    position: relative;
}

.login-form-panel {
    width: 100%;
    max-width: 420px;
    background-color: #1B213D;
    border-radius: 12px;
    padding: 75px 35px;
    backdrop-filter: blur(10px);
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.4);
}

.login-form-panel h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.login-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 25px;
    font-weight: 300;
    line-height: 1.5;
}

.login-form-group {
    margin-bottom: 18px;
}

.login-form-group:last-of-type {
    margin-bottom: 0;
}

.login-form-group label {
    display: block;
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

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

.forgot-password {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    outline: none;
    border-color: rgba(168, 143, 82, 0.5);
    background-color: rgba(0, 0, 0, 0.4);
}

.remember-password {
    display: flex;
    align-items: center;
    gap: 10px;
}

.remember-password input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.remember-password label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Password field with eye icon */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-control {
    padding-right: 42px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.toggle-password:focus {
    outline: none;
}

.btn-signin {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.btn-signin:hover {
    background-color: #B89A5F;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(168, 143, 82, 0.3);
}

.create-account-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.create-account-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: all 0.3s ease;
}

.create-account-link:hover {
    color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .login-container {
        flex-direction: column;
    }

    .login-left {
        flex: 1;
        min-height: 40vh;
    }

    .login-logo {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .login-logo img {
        max-width: 180px;
    }

    .login-right {
        flex: 1;
        padding: 40px 30px;
    }

    .login-form-panel {
        max-width: 100%;
        padding: 40px 30px;
    }
}

@media (max-width: 575.98px) {
    .login-form-panel h1 {
        font-size: 28px;
    }

    .login-right {
        padding: 30px 20px;
    }

    .password-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Alert Styling for Auth Pages */
.login-form-panel .alert {
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
}

.login-form-panel .alert ul {
    margin: 0;
    padding-left: 20px;
}

.login-form-panel .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}

.login-form-panel .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #4CAF50;
}

/* Assign Job Overlay / Panel (My Jobs - Admin) */
.assign-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.assign-overlay.open {
    display: flex;
}

.assign-panel {
    background: #1B213D;
    border-radius: 12px;
    padding: 20px 24px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.assign-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.assign-panel-header h5 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
}

.assign-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assign-close i {
    font-size: 18px;
}

.assign-panel-body {
    margin-bottom: 18px;
}

.assign-label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 8px;
}

.assign-select {
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.assign-select option {
    color: #111827;
}

.assign-panel-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-assign-cancel,
.btn-assign-submit {
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-assign-cancel {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.btn-assign-cancel:hover {
    background: rgba(255, 255, 255, 0.06);
}

.btn-assign-submit {
    background: var(--primary-color);
    color: #111827;
    font-weight: 500;
}

.btn-assign-submit:hover {
    background: #B89A5F;
}

.login-form-panel .form-control.is-invalid {
    border-color: rgba(220, 53, 69, 0.5);
    background-color:#fff;
    background-image: none;
}

.login-form-panel .form-control.is-invalid:focus {
    border-color: rgba(220, 53, 69, 0.65);
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: none;
}

/* Password fields: keep eye icon clear — no Bootstrap validation icon overlap */
.password-input-wrapper .form-control.is-invalid {
    padding-right: 42px;
    background-image: none;
    background-color:#fff;
}

.password-input-wrapper .form-control.is-invalid:focus {
    background-color:#fff;
}

.login-form-panel .invalid-feedback {
    display: block;
    font-size: 12px;
    color: #ff6b6b;
    margin-top: 5px;
}

/* Admin Panel Layout CSS */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #F5F5F5;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background-color: #0D101E;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.sidebar-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    flex: 1;
    padding: 10px 4px 20px;
    text-align: center;
}

.sidebar-logo img {
    max-width: 180px;
    height: auto;
}

.sidebar-close-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 6px;
}

.sidebar-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.sidebar-close-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(168, 143, 82, 0.45);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 5px 15px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 400;
}

.nav-link i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav-item.active .nav-link {
    background-color: var(--primary-color);
    color: var(--white);
}

.logout-item {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-item form {
    margin: 0;
}

.logout-btn {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 400;
    width: 100%;
}

.logout-btn i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
}

.logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.logout-btn-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.logout-btn-dropdown:hover {
    background-color: #F5F5F5;
    color: #333;
}

.logout-btn-dropdown i {
    width: 18px;
    font-size: 14px;
    color: #666;
}

/* Main Content Area */
.admin-main {
    margin-left: 260px;
    width: calc(100% - 260px);
    transition: all 0.3s ease;
}

.admin-sidebar.collapsed {
    margin-left: -260px;
}

.admin-main.sidebar-collapsed {
    margin-left: 0;
    width: 100%;
}

/* Top Bar */
.admin-topbar {
    background-color: var(--white);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: #F5F5F5;
    border-radius: 5px;
}

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

.search-bar i {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 14px;
    z-index: 1;
}

.search-input {
    padding: 10px 15px 10px 40px;
    border: none;
    border-radius: 25px;
    width: 400px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #F5F5F5;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    background-color: #EEEEEE;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    color: #333;
    font-size: 20px;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 10px;
    background-color: #a88f52;
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.language-selector:hover {
    background-color: #F5F5F5;
}

.flag {
    font-size: 20px;
}

.language-selector i {
    font-size: 12px;
    color: #999;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.user-profile:hover {
    background-color: #F5F5F5;
}

.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.user-profile i {
    font-size: 12px;
    color: #999;
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    display: block;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.language-dropdown {
    min-width: 150px;
}

.user-dropdown {
    min-width: 180px;
    left: unset;
    right: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #F5F5F5;
    color: #333;
}

.dropdown-item i {
    width: 18px;
    font-size: 14px;
    color: #666;
}

.dropdown-divider {
    height: 1px;
    background-color: #E0E0E0;
    margin: 5px 0;
}

/* Content Area */
.admin-content {
    padding: 30px;
    min-height: calc(100vh - 70px);
    background-color: #F5F5F5;
}

/* Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.btn-post-job {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-post-job:hover {
    background-color: #B89A5F;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(168, 143, 82, 0.3);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 28px;
}

.stat-icon-purple {
    background-color: #E8E3F5;
}

.stat-icon-purple i {
    color: #2196F3;
}

.stat-icon-yellow {
    background-color: #FFF9E6;
}

.stat-icon-yellow i {
    color: #F5C842;
}

.stat-icon-green {
    background-color: #E8F5E9;
}

.stat-icon-green i {
    color: #4CAF50;
}

.stat-icon-orange {
    background-color: #FFF3E0;
}

.stat-icon-orange i {
    color: #FF9800;
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin: 0 0 10px 0;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.stat-desc {
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 1.4;
}

.recent-jobs-section {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
}

.recent-jobs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.recent-jobs-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.month-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.month-dropdown:hover {
    border-color: var(--primary-color);
    background-color: #F5F5F5;
}

.month-dropdown-menu {
    min-width: 150px;
    right: 0;
}

.recent-jobs-table {
    overflow-x: auto;
}

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

.recent-jobs-table thead {
    background-color: #F5F5F5;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.recent-jobs-table th {
    padding: 15px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #E0E0E0;
}

.recent-jobs-table th:first-child {
    border-top-left-radius: 8px;
}

.recent-jobs-table th:last-child {
    border-top-right-radius: 8px;
}

.recent-jobs-table td {
    padding: 15px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #E8E8E8;
}

.recent-jobs-table tbody tr:last-child td {
    border-bottom: none;
}

.recent-jobs-table tbody tr:hover {
    background-color: #FAFAFA;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.status-draft {
    background-color: #607D8B;
    background: linear-gradient(135deg, #78909C 0%, #546E7A 100%);
}

.status-pending {
    background-color: #FF9800;
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.status-rejected {
    background-color: #ef38264a;
    color: #EF3826;
}

.status-in-process {
    background-color: #6226ef57;
    color: #6226EF;
}

.status-completed {
    background-color: #00b69b5c;
    color: #00B69B;
}

@media (max-width: 1200px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .recent-jobs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .recent-jobs-table {
        overflow-x: scroll;
    }

    .recent-jobs-table table {
        min-width: 700px;
    }
}

@media (max-width: 991.98px) {
    .admin-sidebar {
        margin-left: -260px;
    }

    .admin-sidebar.collapsed {
        margin-left: 0;
    }

    .admin-main {
        margin-left: 0;
        width: 100%;
    }

    .search-input {
        width: 250px;
    }
}

@media (max-width: 767.98px) {
    .admin-topbar {
        padding: 15px 20px;
    }

    .search-input {
        width: 150px;
    }

    .language-selector .language-text {
        display: none;
    }

    .user-name {
        display: none;
    }

    .admin-content {
        padding: 20px 15px;
    }
}

/* Full-page loader (My Jobs filters / pagination) */
.page-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.page-loader-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.page-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.page-loader-content i {
    font-size: 42px;
    color: var(--primary-color);
}

.page-loader-content p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* My Jobs Page Styles */
.my-jobs-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.my-jobs-top-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 12px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-icon-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.filter-icon-text i {
    font-size: 18px;
    color: #666;
}

.filter-dropdowns {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-search-input,
.filter-select {
    padding: 10px 16px;
    background-color: #F5F5F5;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    min-height: 42px;
    transition: all 0.3s ease;
}

.filter-search-input {
    min-width: 200px;
}

.filter-search-input:focus,
.filter-select:focus {
    outline: none;
    background-color: #EEEEEE;
    border-color: var(--primary-color);
}

.filter-select {
    min-width: 170px;
    cursor: pointer;
    appearance: auto;
}

.filter-bar .btn-reset-filter {
    text-decoration: none;
}

.filter-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background-color: #F5F5F5;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    border: none;
}

.filter-dropdown:hover {
    background-color: #EEEEEE;
}

.filter-dropdown i {
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
}

.payment-filter-dropdown {
    position: relative;
}

.payment-filter-dropdown.active i {
    transform: rotate(180deg);
}

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    padding: 8px 0;
}

.payment-filter-dropdown.active .filter-dropdown-menu {
    display: block;
}

.filter-option {
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:hover {
    background-color: #F5F5F5;
    color: var(--primary-color);
}

.filter-option[data-value="all"] {
    font-weight: 600;
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 4px;
    padding-bottom: 12px;
}

.btn-reset-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    color: #F44336;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: auto;
    font-weight: 500;
}

.btn-reset-filter:hover {
    background-color: #FFEBEE;
    color: #D32F2F;
}

.btn-reset-filter i {
    font-size: 14px;
    color: #F44336;
}

.my-jobs-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
}

.my-jobs-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
}

.my-jobs-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.my-jobs-table-section {
    overflow-x: auto;
}

.my-jobs-pagination {
    display: flex;
    justify-content: flex-end;
    padding: 20px 24px 24px;
    border-top: 1px solid #eee;
}

.my-jobs-pagination .pagination {
    margin-bottom: 0;
}

.my-jobs-pagination .page-link {
    color: #333;
    border-color: #e0e0e0;
    font-size: 14px;
}

.my-jobs-pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.my-jobs-pagination .page-link:hover {
    color: var(--primary-color);
}

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

.my-jobs-table thead {
    background-color: #F5F5F5;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.my-jobs-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #E0E0E0;
}

.my-jobs-table th:first-child {
    padding-left: 25px;
    border-top-left-radius: 8px;
}

.my-jobs-table th:last-child {
    border-top-right-radius: 8px;
}

.my-jobs-table td {
    padding: 15px 20px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #F0F0F0;
    vertical-align: middle;
}

.my-jobs-table td:first-child {
    padding-left: 25px;
}

.my-jobs-table th:nth-child(5),
.my-jobs-table td:nth-child(5) {
    text-align: center;
}

.my-jobs-table td:last-child {
    text-align: center;
}

.my-jobs-table .action-buttons {
    justify-content: flex-start;
    gap: 10px;
}

.my-jobs-table tbody tr:hover {
    background-color: #FAFAFA;
}

.btn-view-assignees {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

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

.no-assignee-text {
    color: #999;
    font-size: 13px;
    font-style: italic;
}

.assignees-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    padding: 20px;
}

.assignees-modal.open {
    opacity: 1;
    visibility: visible;
}

.assignees-modal-content {
    background: var(--white);
    border-radius: 12px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.assignees-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
}

.assignees-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.assignees-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.assignees-modal-close:hover {
    color: #333;
}

.assignees-modal-body {
    padding: 0 22px;
    overflow-y: auto;
}

.assignees-modal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.assignees-modal-table th,
.assignees-modal-table td {
    padding: 12px 10px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.assignees-modal-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.assignees-modal-footer {
    padding: 16px 22px;
    border-top: 1px solid #eee;
    text-align: right;
}

.btn-assignees-close {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.btn-assignees-close:hover {
    opacity: 0.9;
}

.assignee-profile-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.assignee-profile-link:hover {
    text-decoration: underline;
}

/* Bartender public profile (client view) */
.bartender-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.bartender-profile-header h1 {
    margin: 0 0 6px;
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.bartender-profile-subtitle {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.bartender-profile-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bartender-profile-top {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.bartender-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
}

.bartender-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bartender-profile-summary h2 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 600;
    color: #333;
}

.bartender-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bartender-profile-section {
    margin-bottom: 24px;
}

.bartender-profile-section:last-child {
    margin-bottom: 0;
}

.bartender-profile-section h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.bartender-profile-bio {
    margin: 0;
    color: #555;
    line-height: 1.6;
    white-space: pre-wrap;
}

.bartender-profile-kyc-overall {
    margin: 0 0 14px;
    color: #555;
}

.bartender-profile-kyc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bartender-profile-kyc-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #f8f8f8;
    border-radius: 8px;
}

.bartender-profile-kyc-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.profile-bio-group {
    grid-column: 1 / -1;
}

.action-buttons {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: space-evenly;
}

.action-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.action-btn:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: #D0D0D0;
}

.action-btn:active {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.edit-btn {
    background-color: #FFFFFF;
    color: #666666;
    border-color: #E0E0E0;
}

.edit-btn:hover {
    background-color: #F5F5F5;
    color: #333333;
    border-color: #D0D0D0;
}

.approve-btn {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    color: #4CAF50;
    border: none;
    cursor: pointer;
    border-color: #A5D6A7;
}

.approve-btn:hover {
    background: linear-gradient(135deg, #C8E6C9 0%, #A5D6A7 100%);
    color: #388E3C;
    border-color: #81C784;
}

.activate-btn {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    color: #4CAF50;
    border: none;
    cursor: pointer;
    border-color: #A5D6A7;
}

.activate-btn:hover {
    background: linear-gradient(135deg, #C8E6C9 0%, #A5D6A7 100%);
    color: #388E3C;
    border-color: #81C784;
}

.deactivate-btn {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    color: #FF9800;
    border: none;
    cursor: pointer;
    border-color: #FFCC80;
}

.deactivate-btn:hover {
    background: linear-gradient(135deg, #FFE0B2 0%, #FFCC80 100%);
    color: #F57C00;
    border-color: #FFB74D;
}

.toggle-status-btn {
    border: none;
    cursor: pointer;
}

.delete-btn {
    background-color: #FFFFFF;
    color: #F44336;
    border-color: #E0E0E0;
}

.delete-btn:hover {
    background-color: #FFF5F5;
    color: #D32F2F;
    border-color: #FFCDD2;
}

@media (max-width: 767.98px) {
    .my-jobs-header h1 {
        font-size: 24px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-reset-filter {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .my-jobs-content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .my-jobs-table-section {
        padding: 15px;
        overflow-x: scroll;
    }

    .my-jobs-table {
        min-width: 800px;
    }
}

/* Post A Job Page Styles */
.post-job-header {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
}

.post-job-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Matches .btn-post-now / .btn-post-job theme (var(--primary-color)) */
.btn-bartender-service-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--white) !important;
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-bartender-service-trigger:hover {
    background-color: #B89A5F;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(168, 143, 82, 0.3);
}

.btn-bartender-service-trigger:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 143, 82, 0.35);
}

.btn-bartender-service-trigger:active {
    transform: translateY(0);
}

.post-job-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
}

.post-job-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.post-job-form-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-job-card .form-group {
    margin-bottom: 0;
}

.post-job-card .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.post-job-card .form-control {
    width: 100%;
    padding: 0px 6px;
    background-color: #F5F6FA;
    border: 1px solid #D5D5D5;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.post-job-card .form-control::placeholder {
    color: #999;
}

.post-job-card .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
}

.post-job-card select.form-control {
    background-color: #F5F6FA;
    cursor: pointer;
}

.post-job-card textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.date-time-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.date-input,
.time-input {
    width: 100%;
}

.file-upload-area {
    position: relative;
    border: 2px dashed #D0D5DD;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background-color: #FAFAFA;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background-color: #F5F5F5;
}

.file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-content i {
    font-size: 32px;
    color: #999;
    margin-bottom: 10px;
    display: block;
}

.file-upload-content p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #F0F0F0;
}

.btn-post-now {
    padding: 12px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-post-now:hover {
    background-color: #B89A5F;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(168, 143, 82, 0.3);
}

.btn-cancel {
    padding: 12px 40px;
    background-color: var(--white);
    color: #666;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background-color: #F5F5F5;
    border-color: #999;
    color: #333;
}

@media (max-width: 991.98px) {
    .post-job-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .date-time-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .post-job-header h1 {
        font-size: 24px;
    }

    .post-job-card {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-post-now,
    .btn-cancel {
        width: 100%;
    }
}

/* Profile Page Styles */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.profile-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.btn-edit-profile {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-profile:hover {
    background-color: #B89A5F;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(168, 143, 82, 0.3);
}

.btn-edit-profile:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.profile-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
}

.profile-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px 0;
}

.btn-save-profile {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save-profile:hover {
    background-color: #B89A5F;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(168, 143, 82, 0.3);
}

.btn-save-profile:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.profile-identity {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #F0F0F0;
}

.profile-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    transform: scale(1.05);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.profile-avatar:hover .profile-upload-overlay {
    opacity: 1;
}

.profile-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    text-align: center;
}

.profile-upload-label i {
    font-size: 20px;
    margin-bottom: 5px;
}

.profile-upload-label span {
    font-size: 12px;
    font-weight: 500;
}

.profile-name-email h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.profile-name-email p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: #F5F6FA;
    border: 1px solid #D5D5D5;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
}

.form-control:disabled {
    background-color: #F5F6FA;
    color: #666;
    cursor: not-allowed;
}

.profile-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #F0F0F0;
}

.btn-cancel {
    background-color: #F5F5F5;
    color: #666;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background-color: #E0E0E0;
    color: #333;
}

.btn-save {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save:hover {
    background-color: #B89A5F;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(168, 143, 82, 0.3);
}

@media (max-width: 767.98px) {
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .profile-header h1 {
        font-size: 24px;
    }

    .profile-identity {
        flex-direction: column;
        text-align: center;
    }

    .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .profile-form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-save {
        width: 100%;
    }
}

select#bartender_id {
    padding: 0px;
}

/* Post Job - Tip Option */
.tip-jar-group .tip-radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tip-jar-group .tip-radio-card {
    flex: 1 1 220px;
    min-width: 220px;
    border: 1px solid #E0E0E0;
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.tip-jar-group .tip-radio-card:hover {
    border-color: #A88F52;
}

.tip-jar-group .tip-radio-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tip-jar-group .tip-radio-ui {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #A88F52;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
}

.tip-jar-group .tip-radio-input:checked~.tip-radio-ui {
    background: #A88F52;
}

.tip-jar-group .tip-radio-input:checked~.tip-radio-ui::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    display: block;
}

.tip-jar-group .tip-radio-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.tip-pre-tip-amount[hidden] {
    display: none;
}

/* Payment History Page Styles */
.payment-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-history-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.filter-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F5F5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-icon-box:hover {
    background-color: #EEEEEE;
}

.filter-icon-box i {
    font-size: 18px;
    color: #666;
}

.payment-history-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
}

.payment-history-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
}

.payment-history-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.payment-history-table-section {
    overflow-x: auto;
}

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

.payment-history-table thead {
    background-color: #F5F5F5;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.payment-history-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #E0E0E0;
}

.payment-history-table th:first-child {
    padding-left: 25px;
    border-top-left-radius: 8px;
}

.payment-history-table th:last-child {
    padding-right: 25px;
    border-top-right-radius: 8px;
    text-align: center;
}

.payment-history-table td {
    padding: 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #F0F0F0;
    vertical-align: middle;
}

.payment-history-table tbody tr:last-child td {
    border-bottom: none;
}

.payment-history-table tbody tr:hover {
    background-color: #FAFAFA;
}

.payment-history-table td:nth-child(2),
.payment-history-table td:nth-child(3) {
    color: #666;
    font-weight: 500;
}

.payment-history-table td:nth-child(4) {
    text-align: left;
}

.payment-history-table td:nth-child(5) {
    text-align: center;
}

.btn-view-invoice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid #D5D5D5;
    border-radius: 6px;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-view-invoice:hover {
    background-color: #F5F5F5;
    border-color: #A88F52;
    color: #A88F52;
}

.btn-view-invoice i {
    font-size: 12px;
}

.payment-history-table .status-badge.status-completed {
    background-color: #B2F5EA;
    color: #0D9488;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    border: none;
}

@media (max-width: 768px) {
    .payment-history-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-bar {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-history-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .payment-history-table-section {
        overflow-x: scroll;
    }

    .payment-history-table {
        min-width: 600px;
    }
}

/* Invoice Page Styles */
.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.invoice-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.btn-new-invoice {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-new-invoice:hover {
    background-color: #B89A5F;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(168, 143, 82, 0.3);
}

.invoice-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Invoice Card Title Banner (Top Red Box) */
.invoice-card-title-banner {
    background-color: #F5E6D3;
    padding: 20px 30px;
    text-align: center;
    margin: 10px 30px;
    border-radius: 12px 12px;
}

.invoice-card-title-banner h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Invoice Details Section (Middle Red Box) */
.invoice-details-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0;
    padding: 30px;

}

.invoice-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.invoice-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.invoice-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.invoice-client-name {
    font-weight: 700;
    font-size: 16px;
}

.invoice-details-right {
    text-align: right;
}

.invoice-total-amount {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

/* Invoice Items Table (Bottom Red Box) */
.invoice-table-section {
    margin: 0;
    padding: 0 30px 30px 30px;
    overflow-x: auto;
}

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

.invoice-table thead {
    background-color: #E8F4F8;
}

.invoice-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #D0E8F0;
}

.invoice-table th:first-child {
    padding-left: 25px;
    border-top-left-radius: 8px;
}

.invoice-table th:last-child {
    padding-right: 25px;
    border-top-right-radius: 8px;
}

.invoice-table td {
    padding: 15px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #F0F0F0;
}

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

.invoice-table tbody tr:hover {
    background-color: #FAFAFA;
}

.invoice-footer {
    padding: 20px 30px 30px 30px;
    border-top: 1px solid #F0F0F0;
    margin: 0;
}

.invoice-total-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.invoice-total-text {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

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

.btn-print-invoice {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border: 1px solid #D5D5D5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-print-invoice:hover {
    background-color: #F5F5F5;
    border-color: var(--primary-color);
}

.btn-print-invoice i {
    font-size: 18px;
    color: #333;
}

.btn-export-invoice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-export-invoice:hover {
    background-color: #B89A5F;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(168, 143, 82, 0.3);
}

.btn-export-invoice i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .invoice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .invoice-details-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .invoice-details-right {
        text-align: left;
    }

    .invoice-total-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .invoice-table-section {
        overflow-x: scroll;
    }

    .invoice-table {
        min-width: 700px;
    }
}

/* Support Page Styles */
.support-header {
    margin-bottom: 25px;
}

.support-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.support-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
}

.support-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

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

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

.support-card .form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.support-card .form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: #F5F6FA;
    border: 1px solid #D5D5D5;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    pointer-events: auto;
    cursor: text;
}

.support-card .form-control:disabled,
.support-card .form-control[disabled] {
    background-color: #F5F6FA;
    opacity: 1;
    cursor: text;
    pointer-events: auto;
}

#state {
    pointer-events: auto !important;
    cursor: text !important;
    background-color: #F5F6FA !important;
}

#state:focus {
    background-color: var(--white) !important;
    pointer-events: auto !important;
}

.support-card .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
}

.support-card .form-control::placeholder {
    color: #999;
}

.support-card textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.support-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #F0F0F0;
}

.btn-submit-support {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-support:hover {
    background-color: #B89A5F;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(168, 143, 82, 0.3);
}

.btn-cancel-support {
    padding: 12px 30px;
    background-color: var(--white);
    color: #333;
    border: 1px solid #D5D5D5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel-support:hover {
    background-color: #F5F5F5;
    border-color: #999;
}

@media (max-width: 768px) {
    .support-form-row {
        grid-template-columns: 1fr;
    }

    .support-form-actions {
        flex-direction: column;
    }

    .btn-submit-support,
    .btn-cancel-support {
        width: 100%;
    }
}

#updateStatusForm .form-control {
    padding: 0px;
}

/* SweetAlert (v1) theme overrides to match site colors */
.swal-overlay {
    background-color: rgba(13, 16, 30, 0.55);
}

.swal-modal {
    border-radius: 12px;
    border: 1px solid rgba(168, 143, 82, 0.25);
    box-shadow: 0px 18px 60px rgba(0, 0, 0, 0.35);
    font-family: 'Poppins', sans-serif;
}

.swal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #111;
}

.swal-text {
    color: #444;
}

.swal-footer {
    margin-top: 18px;
}

.swal-button {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 18px;
    transition: all 0.25s ease;
}

.swal-button:focus {
    box-shadow: 0 0 0 3px rgba(168, 143, 82, 0.25);
}

.swal-button--confirm {
    background-color: var(--primary-color);
}

.swal-button--confirm:hover {
    background-color: #B89A5F;
    transform: translateY(-1px);
    box-shadow: 0px 6px 18px rgba(168, 143, 82, 0.25);
}

.swal-button--cancel {
    background-color: #F5F5F5;
    color: #333;
}

.swal-button--cancel:hover {
    background-color: #ECECEC;
}

/* Make danger confirm (reject) still match theme but read as destructive */
.swal-button--danger {
    background-color: #d9534f;
}

.swal-button--danger:hover {
    background-color: #c64541;
}

.swal-icon--warning {
    border-color: var(--primary-color);
}

.swal-icon--warning__body,
.swal-icon--warning__dot {
    background-color: var(--primary-color);
}

/* Custom tooltip (like screenshot) */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    background: #111;
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.25);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

[data-tooltip]::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #111;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
td {
    color: #000;
}

/* Force backend text to true black (#000) */
.admin-content,
.admin-content p,
.admin-content span,
.admin-content a,
.admin-content label,
.admin-content small,
.admin-content li,
.admin-content td,
.admin-content th {
    color: #000 !important;
}

/* Keep buttons/badges/icon-only elements unaffected where they intentionally use white */
.admin-content .status-badge,
.admin-content .action-btn,
.admin-content .btn-post-job,
.admin-content .btn-reset-filter,
.admin-content .btn-assign-submit,
.admin-content .btn-assign-cancel {
    color: inherit !important;
}

/* Assign Job modal — dark panel, white text (overrides admin-content #000 rule) */
.admin-content .assign-panel,
.admin-content .assign-panel h5,
.admin-content .assign-panel label,
.admin-content .assign-panel .assign-label {
    color: #ffffff !important;
}

.admin-content .assign-panel .form-control,
.admin-content .assign-panel .assign-select {
    color: #ffffff !important;
    background-color: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.admin-content .assign-panel .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.admin-content .assign-panel .select2-container--default .select2-selection--multiple {
    background-color: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.admin-content .assign-panel .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    color: #ffffff !important;
}

.admin-content .assign-panel .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.admin-content .assign-panel .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #111827 !important;
}

.admin-content .assign-panel .btn-assign-cancel {
    color: rgba(255, 255, 255, 0.85) !important;
}
