/* === Color Variables === */
:root {
    --primary-green:#05A243;
    --accent-yellow: #FBAE00;
    --accent-orange: #ff9900;
    --white: #fff;
    --input-bg: #f7f7f7;
    --input-border: #05A243;
    --input-placeholder: #888;
    --btn-green: #05A243;
    --btn-green-hover: #05A243;
    --sidebar-bg: #05A243;
    --sidebar-text: #fff;
    --main-bg: #f7f7f7;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --canceled-bg: #ffdddd;
    --expired-bg: #eeeeee;
    --ongoing-bg: #e9f7ef;
    --completed-bg: rgba(5, 162, 67, 0.12);
    --icon-pending: #888;
    --icon-negotiation: var(--accent-yellow);
    --icon-canceled: #993333;
    --icon-expired: var(--accent-orange);
    --icon-ongoing: var(--primary-green);
    --icon-completed: #05A243;
    --icon-taskers: var(--primary-green);
    --icon-clients: var(--accent-yellow);
}

/* === Reset & Base Styles === */
* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Poppins', Arial, sans-serif; 
    background-image: url("assets/images/Bg-new.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    /* Remove conflicting overlay color for image visibility */
}

/* Higher opacity background for all pages except index.html */
.dashboard-page {
    position: relative;
}

.dashboard-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 0;
    pointer-events: none;
}

/* === Login Page Layout === */
.login-container {
    display: flex;
    min-height: 100vh;
}

/* === Sidebar Section === */
.login-sidebar {
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    width: 40%;
    min-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}
.logo-section {
    text-align: center;
}
.logo-img {
    width: 180px;
    height: 180px;
    margin-bottom: 32px;
}
.brand-title {
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}
.brand-tagline {
    font-size: 1.3rem;
    color: #FBAE00;
    margin-top: 8px;
}
.brand-tagline span {
    color: var(--accent-yellow);
}

/* === Login Form Section === */
.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    background-image: url(/dashboard/assets/images/BACKGROUND.png);
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}
.login-form {
    
    
    min-width: 350px;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.login-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 18px;
    text-align: center;
}
.input-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 4px;
}
.login-form input {
    padding: 14px 16px;
    border: 2px solid var(--input-border);
    border-radius: 8px;
    background: var(--input-bg);
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 10px;
    outline: none;
    transition: border 0.2s;
}
.login-form input:focus {
    border-color: var(--accent-yellow);
}
.login-form input::placeholder {
    color: var(--input-placeholder);
    opacity: 1;
}
.login-btn {
    background: var(--btn-green);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 14px 0;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.login-btn:hover {
    background: var(--btn-green-hover);
}

/* === Login Dashboard Link Button === */
.login-dashboard-link {
    display: inline-block;
    margin-top: 24px;
    background: var(--btn-green);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: var(--shadow);
}
.login-dashboard-link:hover {
    background: var(--btn-green-hover);
    color: #fff;
}

/* === Responsive Design === */
@media (max-width: 900px) {
    .login-container { flex-direction: column; }
    .login-sidebar { 
        width: 100%;
        min-width: unset;
        min-height: 180px;
    }
    .login-main { padding: 32px 0; }
}

/* === Dashboard Layout === */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* === Sidebar === */
.sidebar {
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    width: 270px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    box-shadow: var(--shadow);
}
.sidebar-logo-section {
    text-align: center;
    margin-bottom: 32px;
}
.sidebar-logo-img {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    border-radius: 50%;
}
.sidebar-brand-title {
    font-size: 2rem;
    font-weight: 600;
}
.sidebar-nav {
    width: 100%;
    margin-bottom: 20px;
}
.sidebar-nav ul {
    list-style: none;
    width: 100%;
    padding: 0;
}
.sidebar-link {
    display: block;
    padding: 14px 32px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px 0 0 8px;
    margin-bottom: 6px;
    transition: background 0.2s, color 0.2s;
}
.sidebar-link.active, .sidebar-link:hover {
    background: var(--accent-yellow);
    color: #222;
}

/* Sidebar Footer */
.sidebar-footer {
    width: 100%;
    padding: 20px 32px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-role {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-yellow);
    text-align: center;
}
.logout-btn {
    background: var(--accent-yellow);
    color: #222;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.logout-btn:hover {
    background: #ffc13d;
    transform: translateY(-2px);
}

/* === System Status Section === */
.status-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.system-status-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #222;
}
.system-status-indicator {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 500;
}

/* === Dashboard Stats Grid === */
.dashboard-stats-grid {
    display: flex;
    gap: 24px;
    padding: 24px 0;
}

.stats-left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stats-right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stats-card-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stats-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.chart-card {
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-bottom: 3px solid var(--primary-green);
}

.chart-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    border-bottom: 3px solid var(--accent-orange);
}

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

.stats-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
}

.stats-card-icon {
    font-size: 1.8rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stats-card:hover .stats-card-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Card icon colors */
.stats-card:nth-child(1) .stats-card-icon i {
    color: var(--icon-pending);
}

.stats-card:nth-child(2) .stats-card-icon i {
    color: var(--icon-negotiation);
}

.canceled-card .stats-card-icon i {
    color: var(--icon-canceled);
}

.expired-card .stats-card-icon i {
    color: var(--icon-expired);
}

.ongoing-card .stats-card-icon i {
    color: var(--icon-ongoing);
}

.completed-card .stats-card-icon i {
    color: var(--icon-completed);
    font-size: 2rem;
    text-shadow: 0 0 8px rgba(5, 162, 67, 0.3);
}

.completed-card .stats-card-icon {
    background-color: rgba(5, 162, 67, 0.1);
    border: 1px solid rgba(5, 162, 67, 0.2);
}

.completed-card:hover .stats-card-icon {
    transform: scale(1.15);
    background-color: rgba(5, 162, 67, 0.15);
}

.chart-card:nth-child(1) .stats-card-icon i {
    color: var(--icon-taskers);
}

.chart-card:nth-child(2) .stats-card-icon i {
    color: var(--icon-clients);
}

.stats-card-value {
    font-size: 2.4rem;
    font-weight: 800;
    color: #333;
    margin: 20px 0 10px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stats-card-chart {
    height: 220px;
    position: relative;
    margin-top: 10px;
    padding: 10px;
}

/* Add an inner container for the chart with shadow effect */
.stats-card-chart canvas {
    max-width: 100%;
    height: auto !important;
    filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.1));
}

/* Card color variations */
.canceled-card {
    background: var(--canceled-bg);
}
.expired-card {
    background: var(--expired-bg);
}
.ongoing-card {
    background: var(--ongoing-bg);
}
.completed-card {
    background: var(--completed-bg);
    border-left: 3px solid var(--primary-green);
}

/* === Responsive Dashboard === */
@media (max-width: 1200px) {
    .dashboard-stats-grid {
        flex-direction: column;
    }
    
    .stats-card-chart {
        height: 180px;
    }
    
    .stats-card-value {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-card-group {
        grid-template-columns: 1fr;
    }
    
    .stats-card-chart {
        height: 160px;
    }
    
    .stats-card-value {
        font-size: 1.8rem;
    }
}

@media (max-width: 900px) {
    .dashboard-container { 
        flex-direction: column; 
    }
    .sidebar { 
        width: 100%; 
        min-width: unset; 
        padding: 16px;
    }
    .sidebar-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .sidebar-link {
        padding: 8px 16px;
        margin-bottom: 0;
        border-radius: 8px;
    }
    .sidebar-footer {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        padding: 16px;
    }
    .main-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .main-header-actions {
        align-self: flex-end;
    }
    .stats-card {
        flex: 1 1 100%;
    }
    .stats-card-chart {
        height: 150px;
    }
}

@media (max-width: 600px) {
    .sidebar-logo-img {
        width: 50px;
        height: 50px;
    }
    .sidebar-brand-title {
        font-size: 1.6rem;
    }
    .sidebar-nav ul {
        flex-direction: column;
    }
    .system-status-title {
        font-size: 1.8rem;
    }
    .stats-card-value {
        font-size: 1.8rem;
    }
    .stats-card-chart {
        height: 140px;
    }
}

/* === Main Content === */
.main-content {
    flex: 1;
    background: rgba(247,247,247,0.7);
    padding: 0 32px 32px 32px;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}

/* === Header === */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0 16px 0;
    border-bottom: 1.5px solid #e0e0e0;
    margin-bottom: 12px;
}
.main-title {
    font-size: 2.0rem;
    font-weight: 600;
    color: #222;
}
.orders-count {
    font-size: 1.1rem;
    color: var(--primary-green);
    margin-left: 18px;
}
.main-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* === Search Container === */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.search-input {
    padding: 8px 14px 8px 36px;
    border: 1.5px solid var(--primary-green);
    border-radius: 20px;
    font-size: 1rem;
    outline: none;
    width: 220px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.search-input:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 5px rgba(5, 162, 67, 0.3);
}

.search-btn {
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--primary-green);
    margin: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn.active {
    background-color: var(--primary-green);
    color: white;
}

.search-btn:hover {
    background-color: rgba(5, 162, 67, 0.1);
    transform: scale(1.1);
}

.search-btn.active:hover {
    background-color: var(--primary-green);
    opacity: 0.9;
}

/* Responsive search for smaller screens */
@media (max-width: 768px) {
    .search-container.expanded {
        position: absolute;
        top: 80px;
        right: 32px;
        z-index: 10;
    }
    
    .search-input {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .search-container.expanded {
        right: 16px;
    }
    
    .search-input {
        width: 150px;
    }
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: #222;
    margin: 0 2px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--primary-green);
    transform: scale(1.1);
}
.profile-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-green);
}

/* === Tab Navigation === */
.tab-nav {
    margin: 18px 0 12px 0;
}
.tab-nav ul {
    display: flex;
    gap: 18px;
    list-style: none;
    padding: 0;
}
.tab-link {
    padding: 8px 22px;
    border-radius: 8px 8px 0 0;
    background: #e9f7ef;
    color: var(--primary-green);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.tab-link.active, .tab-link:hover {
    background: var(--accent-yellow);
    color: #222;
}

/* Tab Content Styles */
.tab-content-container {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* === Orders Table === */
.orders-table-section {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 24px;
    margin-top: 8px;
    overflow-x: auto;
}
.orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.05rem;
}
.orders-table th, .orders-table td {
    padding: 14px 12px;
    text-align: left;
}
.orders-table th {
    color: #222;
    font-weight: 700;
    background: #f7f7f7;
}
.orders-table tbody tr {
    border-bottom: 1.5px solid #f0f0f0;
}
.table-profile-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-green);
}
.action-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}
.icon-dropdown {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #222;
    border-bottom: 2px solid #222;
    transform: rotate(-45deg);
    margin-left: 2px;
}

/* Action Dropdown Menu */
.action-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
        background: #fff !important;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    min-width: 180px;
        z-index: 9999;
    display: none;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.action-dropdown.show {
    display: block;
    animation: fadeIn 0.9s ease-in-out;
}

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

.action-dropdown li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-dropdown li:last-child {
    border-bottom: none;
}

.action-dropdown li:hover {
    background: #f8f9fa;
    padding-left: 15px;
}

.action-dropdown a {
    color: #222;
    text-decoration: none;
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: #333;
}

.action-dropdown .delete-option {
    color: #e74c3c;
}

.action-dropdown .edit-option {
    color: var(--primary-green);
}

/* === Status Badges === */
.status-badge {
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
    display: inline-block;
}
.status-pending { background: var(--accent-orange); }
.status-completed { background: var(--primary-green); }
.status-cancelled { background: #993333; }

/* === Payment Requests Table Row Highlight === */
.processed-row {
    background: #e9f7ef;
}

/* === Verification Card Section === */
.verification-card-section {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.verification-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 32px 36px;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.verification-profile {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
}
.verification-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
}
.verification-phone {
    font-size: 1.05rem;
    color: var(--primary-green);
}
.verification-details {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 8px;
}
.verification-about, .verification-skills {
    flex: 1 1 260px;
}
.verification-status {
    flex: 1 1 180px;
    align-self: flex-start;
}
.verification-dates {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.98rem;
    color: #666;
}
.verification-stages {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 12px;
}
.stage-block {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 18px 16px;
    flex: 1 1 260px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.stage-imgs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.stage-img {
    width: 70px;
    height: 70px;
    background: #e9f7ef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #888;
    font-weight: 500;
}
.stage-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 4px;
    transition: background 0.2s;
}
.stage-btn.approve {
    background: var(--primary-green);
    color: #fff;
}
.stage-btn.decline {
    background: #e74c3c;
    color: #fff;
}
.stage-btn.approve:hover {
    background: #219150;
}
.stage-btn.decline:hover {
    background: #c0392b;
}
.referral-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}
.referral-item {
    font-size: 0.98rem;
    color: #444;
}
.stage-final-btns {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}
.verification-footer {
    margin-top: 18px;
    text-align: right;
    color: var(--primary-green);
    font-size: 1.05rem;
    font-style: italic;
}
@media (max-width: 900px) {
    .verification-card {
        padding: 16px 4px;
        gap: 12px;
    }
    .verification-details, .verification-stages {
        flex-direction: column;
        gap: 12px;
    }
}

/* === Tasker Profile Card Section === */
.profile-card-section {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.profile-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 32px 36px;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
}
.profile-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
}
.profile-phone, .profile-date {
    font-size: 1.05rem;
    color: var(--primary-green);
}
.profile-status {
    margin-left: auto;
    margin-right: 12px;
}
.profile-actions {
    display: flex;
    gap: 8px;
}
.profile-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.profile-btn.approve {
    background: var(--primary-green);
    color: #fff;
}
.profile-btn.decline {
    background: #e74c3c;
    color: #fff;
}
.profile-btn.approve:hover {
    background: #219150;
}
.profile-btn.decline:hover {
    background: #c0392b;
}
.profile-details {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 8px;
}
.profile-about, .profile-skills {
    flex: 1 1 260px;
}
.profile-rating {
    flex: 1 1 180px;
    align-self: flex-start;
    font-size: 1.1rem;
    color: #222;
}
.rating-value {
    color: var(--accent-orange);
    font-size: 1.3rem;
    font-weight: 700;
    margin-left: 8px;
}
.profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 18px 0 8px 0;
}
.stat-block {
    background: #e9f7ef;
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    font-size: 1.05rem;
    color: #222;
    font-weight: 600;
}
.profile-message-box {
    margin: 18px 0 8px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.profile-message-box textarea {
    width: 100%;
    border-radius: 8px;
    border: 1.5px solid #ccc;
    padding: 10px 14px;
    font-size: 1rem;
    resize: vertical;
    min-height: 40px;
}
.send-message-btn {
    align-self: flex-end;
    background: var(--primary-green);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 22px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.2s;
}
.send-message-btn:hover {
    background: #219150;
}
.profile-reviews {
    margin-top: 18px;
}
.review-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.review-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 10px 14px;
}
.review-profile-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-green);
}
.review-content {
    flex: 1;
}
.review-author {
    font-weight: 600;
    color: #222;
}
.review-rating {
    color: var(--accent-orange);
    font-size: 1.1rem;
    margin-bottom: 2px;
}
.review-text {
    font-size: 1rem;
    color: #444;
    margin-bottom: 2px;
}
.review-date {
    font-size: 0.95rem;
    color: #888;
}
@media (max-width: 900px) {
    .profile-card {
        padding: 16px 4px;
        gap: 12px;
    }
    .profile-details, .profile-stats {
        flex-direction: column;
        gap: 12px;
    }
}

/* === Messages and Updates Section === */
.messages-section {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}
.message-form {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 24px 32px;
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.message-form textarea {
    width: 100%;
    border-radius: 8px;
    border: 1.5px solid #ccc;
    padding: 10px 14px;
    font-size: 1rem;
    resize: vertical;
    min-height: 40px;
}
@media (max-width: 900px) {
    .message-form {
        padding: 12px 4px;
        gap: 8px;
    }
}

/* === Dashboard Notification === */
.dashboard-notification {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--primary-green);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    min-width: 220px;
    text-align: center;
    pointer-events: none;
}
.dashboard-notification.error {
    background: #e74c3c;
}
.dashboard-notification.success {
    background: var(--accent-yellow);
    color: #222;
}
.dashboard-notification.info {
    background: var(--primary-green);
}

/* === Table Row Hover Animation === */
.orders-table tbody tr,
.orders-table tbody tr.processed-row {
    transition: box-shadow 0.2s, background 0.2s, transform 0.2s;
}
.orders-table tbody tr:hover {
    background: #f7f7f7;
    box-shadow: 0 2px 12px rgba(39, 174, 96, 0.08);
    transform: scale(1.01);
    z-index: 2;
}

/* === Sidebar and Main Content Animation === */
.sidebar, .main-content {
    transition: box-shadow 0.3s, background 0.3s, transform 0.3s;
}

/* === Copyright Footer === */
.copyright {
    text-align: center;
    padding: 10px 0;
    font-size: 0.8rem;
    color: #000000;
    width: 100%;
    position: relative;
    margin-top: 20px;
    z-index: 10;
}

/* === Application Detail View Styles === */
.application-detail {
    display: none;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 24px;
    margin-top: 8px;
}

.application-detail.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

.back-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transform: rotate(180deg);
}

/* Fix for back button */
.back-navigation {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.back-button {
    background: var(--primary-green);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    gap: 10px;
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    width: auto;
    min-width: 120px;
}

.back-button:hover {
    background: #0d8a59;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.applicant-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.applicant-profile {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-green);
}

.applicant-details h3 {
    margin: 0;
    font-size: 1.5rem;
}

.applicant-details p {
    margin: 5px 0 0;
    color: var(--primary-green);
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-section, .skills-section {
    margin-bottom: 30px;
}

.about-text {
    line-height: 1.6;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.id-images, .work-images {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.id-image, .work-image {
    width: 150px;
    height: 150px;
    background: #e8f5e9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.approve-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 10px;
}

.reject-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

/* Add spacing between buttons in table cells */
td .approve-btn {
    margin-bottom: 8px;
    display: block;
}

.approve-btn:hover, .reject-btn:hover {
    opacity: 0.9;
}

/* Bottom Navigation Styles */
.bottom-navigation {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
    padding: 10px;
}

.next-arrow {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    text-decoration: none;
    font-weight: bold;
}

.next-arrow:hover {
    background-color: #45a049;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.next-arrow .arrow-icon {
    margin-left: 8px;
    font-size: 20px;
} 

.footer-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.approve-admin-btn {
    padding: 6px 12px;
    background-color: var(--input-bg);
    color: var(--sidebar-bg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.approve-admin-btn:hover {
    background-color:var(--accent-orange);
    color: #ffffff;
}

/* Update logout button styles to match */
.logout-btn {
    padding: 6px 12px;
    background-color: #ff4444;
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color:var(--canceled-bg);
    color: var(--sidebar-bg);
}
