:root {
    --primary: #0056b3;
    --secondary: #ffc107;
    --dark: #343a40;
    --light: #f8f9fa;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #fd7e14;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    margin-bottom: 30px;
}

.logo {
    height: 50px;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../assets/images/solar-park-bg.jpg');
    background-size: cover;
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin: 10px 5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #003d7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background-color: #e0a800;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.card h2 {
    margin-top: 0;
    color: var(--primary);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
}

.sidebar {
    background-color: var(--dark);
    color: white;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.sidebar h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar a {
    color: white;
    display: block;
    padding: 10px 0;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar a:hover {
    color: var(--secondary);
}

.sidebar a.active {
    color: var(--secondary);
    font-weight: bold;
}

.sidebar a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dashboard-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 20px;
}

.map-container {
    height: 400px;
    background-color: #eee;
    border-radius: 8px;
    grid-column: span 2;
    position: relative;
    overflow: hidden;
}

.map-legend {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

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

.stat-card {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-card h3 {
    margin-top: 0;
    color: var(--primary);
    font-size: 1rem;
}

.stat-card p {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
}

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

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary);
    color: white;
}

tr:hover {
    background-color: #f5f5f5;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.badge-success {
    background-color: var(--success);
}

.badge-warning {
    background-color: var(--warning);
}

.badge-danger {
    background-color: var(--danger);
}

.progress-bar {
    height: 20px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}

.progress {
    height: 100%;
    background-color: var(--primary);
    transition: width 0.5s ease;
}

.document-upload {
    border: 2px dashed #ddd;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.document-upload:hover {
    border-color: var(--primary);
    background-color: #f8f9fa;
}

.document-upload i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.biometric-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 20px;
}

.biometric-icon {
    font-size: 80px;
    margin-bottom: 20px;
    color: var(--primary);
}

.payslip {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.payslip-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.payslip-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.payslip-table {
    width: 100%;
    margin-bottom: 30px;
}

.payslip-table th {
    background-color: #f8f9fa;
    color: var(--dark);
}

.payslip-total {
    text-align: right;
    font-weight: bold;
    font-size: 18px;
    margin-top: 20px;
}

.attendance-chart {
    height: 300px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.anomaly-card {
    border-left: 4px solid var(--danger);
    padding-left: 15px;
    margin-bottom: 15px;
    background-color: #fff8f8;
    padding: 15px;
    border-radius: 4px;
}

.login-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    height: 60px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
}

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

.option-card i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

footer {
    background-color: var(--dark);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        grid-column: span 1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payslip-details {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
        gap: 10px;
    }
}

/* Add these to your existing styles.css */

.hero .cta-buttons {
    margin-top: 30px;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.position-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

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

.position-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.position-card h4 {
    margin: 10px 0;
    color: var(--primary);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.benefits-list i {
    color: var(--success);
    margin-right: 10px;
}

.project-locations {
    margin-top: 30px;
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.location-tag {
    background-color: var(--light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    position: relative;
    padding-left: 60px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Resume Options Page Specific Styles */
.resume-options-card {
    max-width: 1000px;
    margin: 0 auto;
}

.resume-options-card .subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.option-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.option-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.option-card h2 {
    margin: 10px 0;
    color: var(--primary);
}

.option-card p {
    color: #666;
    margin-bottom: 25px;
}

.option-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left;
    flex-grow: 1;
}

.option-benefits li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.option-benefits i {
    color: var(--success);
    margin-right: 10px;
    font-size: 0.9rem;
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
}

.application-tips {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.application-tips h3 {
    text-align: center;
    margin-bottom: 30px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tip-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.tip-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.tip-card h4 {
    margin: 10px 0;
    color: var(--dark);
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.back-link i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .option-card {
        padding: 20px;
    }
}

/* Upload CV Page Specific Styles */
.upload-cv-card {
    max-width: 800px;
    margin: 0 auto;
}

.upload-header {
    text-align: center;
    margin-bottom: 30px;
}

.upload-header .subtitle {
    color: #666;
    font-size: 1.1rem;
}

.upload-container {
    margin: 40px 0;
}

.upload-box {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-box.highlight {
    border-color: var(--primary);
    background-color: #f8f9fa;
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.upload-box h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.upload-hint {
    color: #666;
    margin-bottom: 20px;
}

.browse-btn {
    margin-bottom: 15px;
}

.file-types {
    color: #888;
    font-size: 0.9rem;
}

.upload-progress {
    margin-top: 20px;
}

.progress-text {
    margin: 10px 0;
    text-align: center;
    font-weight: 500;
}

.file-info {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 0.9rem;
}

.file-info p {
    margin: 5px 0;
}

.extracted-data {
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    color: var(--success);
    margin-right: 10px;
}

.success-message {
    color: #666;
    margin-bottom: 20px;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section h4 {
    color: var(--primary);
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.form-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submit-btn {
    padding: 12px 30px;
}

.upload-help {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.upload-help h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    margin-top: 0;
}

.upload-help i {
    font-size: 1.2rem;
}

.help-locations {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.help-locations li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.help-locations li:last-child {
    border-bottom: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Multiple select styling */
select[multiple] {
    height: auto;
    min-height: 100px;
    padding: 5px;
}

select[multiple] option {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
}

select[multiple] option:last-child {
    border-bottom: none;
}

select[multiple] option:hover {
    background-color: var(--primary);
    color: white;
}

/* Create Profile Page Specific Styles */
.profile-form-card {
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header .subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.step.active .step-number {
    background-color: var(--primary);
    color: white;
}

.step-label {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s;
}

.step.active .step-label {
    color: var(--dark);
    font-weight: 500;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-step h2 i {
    font-size: 1.2rem;
}

.form-step h3 {
    color: var(--dark);
    margin: 25px 0 15px 0;
    font-size: 1.1rem;
}

.skills-hint,
.experience-hint {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
    font-style: italic;
}

.availability-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-option input {
    width: auto;
    margin: 0;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.submit-btn {
    padding: 12px 30px;
}

/* Review Step Styles */
.review-instructions {
    color: #666;
    margin-bottom: 30px;
}

.review-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.review-section:last-child {
    border-bottom: none;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.review-item {
    margin-bottom: 15px;
}

.review-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 5px;
}

.review-item span {
    display: block;
    color: #555;
    line-height: 1.5;
}

/* Form Help Section */
.form-help {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.form-help h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    margin-top: 0;
}

.form-help i {
    font-size: 1.2rem;
}

.help-options {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.help-options li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-options i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .progress-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step {
        flex-direction: row;
        gap: 15px;
        align-items: center;
        width: 100%;
    }
    
    .step-number {
        margin-bottom: 0;
    }
    
    .form-actions {
        flex-direction: column-reverse;
        gap: 15px;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}