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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.dashboard-container {
    min-height: 100vh;
}

.dashboard-header {
    background: #F1FFFA;
    color: rgb(0, 0, 0);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-content h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

.header-content h1 i {
    margin-right: 0.5rem;
    color: #000000;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.welcome-text {
    font-size: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #CCFCCB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.dashboard-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    gap: 2rem;
}

.job-section {
    margin-bottom: 1rem;
}

.job-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e1e8ed;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.job-header h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.job-status {
    background: #568259;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-details {
    color: #141414;
}

.job-location {
    color: #464E47;
    font-weight: 500;
    margin-bottom: 1rem;
}

.job-location i {
    margin-right: 0.5rem;
}

.job-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.job-description ul {
    margin: 1rem 0;
    padding-left: 0;
}

.job-description li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    margin-left: 1.2rem;
}

.job-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.job-meta span {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.job-meta i {
    margin-right: 0.5rem;
    color: #464E47;
}

.total-applications #total-applicants {
    margin-right: 0.25rem;
}

.applicants-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e1e8ed;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

.filters {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#match-filter {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
}

.filter-btn {
    background: #464E47;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.filter-btn:hover {
    background: #568259;
}

.applicants-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.applicant-card {
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    background: #fafbfc;
}

.applicant-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.applicant-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.applicant-info h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.applicant-location {
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.applicant-location i {
    margin-right: 0.3rem;
}

.match-score {
    text-align: center;
    min-width: 60px;
}

.match-percentage {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.match-percentage.high { color: #568259; }
.match-percentage.medium { color: #828156; }
.match-percentage.low { color: #825656; }

.match-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.applicant-skills {
    margin-bottom: 1rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #CCFCCB;
    color: #464E47;
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.applicant-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
}

.detail-item i {
    margin-right: 0.5rem;
    color: #464E47;
    width: 12px;
}

.applicant-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-primary {
    background: #464E47;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    flex: 1;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #568259;
}

.btn-secondary {
    background: transparent;
    color: #464E47;
    border: 1px solid #464E47;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    flex: 1;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #464E47;
    color: white;
}

.relocation-badge {
    background: #568259;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .dashboard-main {
        padding: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .applicants-grid {
        grid-template-columns: 1fr;
    }
    
    .job-meta {
        gap: 1rem;
    }
    
    .applicant-details {
        grid-template-columns: 1fr;
    }
}