:root {
    --ines-primary: #1e7e4f;
    --ines-secondary: #2d8f5d;
    --ines-accent: #3ba56c;
    --ines-light: #f8fffe;
    --ines-dark: #0f3624;
    --gradient-primary: linear-gradient(135deg, var(--ines-primary) 0%, var(--ines-secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--ines-accent) 0%, var(--ines-secondary) 100%);
    --shadow-soft: 0 4px 20px rgba(30, 126, 79, 0.1);
    --shadow-medium: 0 8px 32px rgba(30, 126, 79, 0.15);
    --border-radius: 16px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}
a {
    text-decoration: none;
    color: var(--ines-primary);
    transition: color 0.3s ease;
}
.ines-dark-color {
    color: var(--ines-dark) !important;
}
.header-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 126, 79, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.site-logo img {
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 126, 79, 0.2);
}

.site-logo img:hover {
    transform: scale(1.05);
}

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

.nav-link-modern {
    color: var(--ines-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-modern:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}
.form-group-modern {
    margin-bottom: 1.5rem;
}
.form-label-modern {
    font-weight: 600;
    color: var(--ines-dark);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

.form-control-modern {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}
.form-control-modern:focus {
    outline: none;
    border-color: var(--ines-primary);
    box-shadow: 0 0 0 3px rgba(30, 126, 79, 0.1);
    transform: translateY(-1px);
}

.form-control-modern:hover {
    border-color: var(--ines-accent);
}
.btn-signup {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.btn-logout {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

.alert-modern {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin: 1rem 0;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border-left: 4px solid #28a745;
    color: #155724;
}

.alert-danger, .alert-error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    border-left: 4px solid #ffc107;
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1), rgba(23, 162, 184, 0.05));
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

.content-section {
    padding: 4rem 0;
}

.jobs-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    margin: 2rem 0;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--ines-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.job-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 126, 79, 0.1);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--ines-accent);
}

.job-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.job-title {
    font-weight: 600;
    color: var(--ines-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.job-meta {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-badge {
    background: var(--gradient-accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-view-job {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-view-job:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    color: white;
}

.footer-modern {
    background: var(--ines-dark);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
    opacity: 0.9;
}

.footer-logo {
    margin-bottom: 1rem;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.03;
    animation: float 20s infinite ease-in-out;
}

.shape1 {
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.shape2 {
    top: 60%;
    right: 10%;
    animation-delay: -10s;
}

.shape3 {
    bottom: 20%;
    left: 20%;
    animation-delay: -6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .job-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
}

/** VACANCY DETAIL **/

.job-banner {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.job-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20c0 5.5-4.5 10-10 10s-10-4.5-10-10 4.5-10 10-10 10 4.5 10 10zm10 0c0 5.5-4.5 10-10 10s-10-4.5-10-10 4.5-10 10-10 10 4.5 10 10z'/%3E%3C/g%3E%3C/svg%3E");
}

.job-type-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.job-title-banner {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.job-detail-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin: -2rem 0 2rem 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.job-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(30, 126, 79, 0.1);
}

.job-title-detail {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ines-dark);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.job-position {
    color: var(--ines-secondary);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.job-position:hover {
    color: var(--ines-primary);
}

.attachment-card {
    background: linear-gradient(135deg, rgba(30, 126, 79, 0.05), rgba(30, 126, 79, 0.02));
    border: 2px dashed var(--ines-accent);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    transition: all 0.3s ease;
}

.attachment-card:hover {
    background: linear-gradient(135deg, rgba(30, 126, 79, 0.1), rgba(30, 126, 79, 0.05));
    transform: translateY(-2px);
}

.attachment-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.attachment-link i {
    font-size: 1.5rem;
}

.attachment-link:hover {
    color: #c82333;
}

.action-section {
    padding: 2rem;
    background: #f8f9fa;
}

.btn-apply {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.application-status {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-soft);
}

.shortlist-btn {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    margin: 1rem 0;
}

.shortlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.shortlist-table-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-top: 1.5rem;
}

.table-modern {
    margin: 0;
    font-size: 0.95rem;
}

.table-modern thead {
    background: var(--gradient-primary);
    color: white;
}

.table-modern thead th {
    border: none;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.table-modern tbody td {
    padding: 1rem;
    border-color: rgba(30, 126, 79, 0.1);
    vertical-align: middle;
}

.table-modern tbody tr:hover {
    background: rgba(30, 126, 79, 0.02);
}

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-shortlisted {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.status-pending {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

.status-rejected {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.empty-state {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
}

.job-content {
    padding: 2rem 0;
}

.section-divider {
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 1.5rem 0;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .job-title-banner {
        font-size: 2rem;
    }
    
    .job-title-detail {
        font-size: 1.5rem;
    }

    .job-detail-card {
        margin: -1rem 0 2rem 0;
    }

    .job-header, .action-section {
        padding: 1.5rem;
    }

    .btn-apply {
        width: 100%;
        justify-content: center;
    }

    .shortlist-btn {
        width: 100%;
        justify-content: center;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

/** BASIC INFORMATION */

