/* assets/css/careers.css */
:root {
    --primary: #3b82f6; /* Blue */
    --primary-dark: #1d4ed8;
    --secondary: #28a745; /* Green */
    --secondary-dark: #218838;
    --danger: #dc3545; /* Red */
    --dark: #2c3e50;
    --gray: #6b7280;
    --light: #f9fafb;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    min-height: 100vh;
}

.header {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: var(--white);
    text-align: center;
    padding: 2rem;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.header img {
    width: 80px;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.job-card, .form-container, .status-container, .view-applications {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card::before, .form-container::before, .status-container::before, .view-applications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.job-card:hover, .form-container:hover, .status-container:hover, .view-applications:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.job-card h3 {
    position: relative;
    padding-bottom: 0.5rem;
}

.job-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
    gap: 0.3rem;
}

.status-pending { background: #fef3c7; color: #854d0e; }
.status-accepted { background: #d1fae5; color: #15803d; }
.status-rejected { background: #fee2e2; color: #b91c1c; }
.status-reviewed { background: #dbeafe; color: #1e40af; }

.table th, .table td {
    vertical-align: middle;
    font-size: 0.85rem; /* Smaller font for table */
}

.table .btn-sm {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem; /* Smaller button text */
    line-height: 1.2;
}

.table .status-badge {
    font-size: 0.7rem; /* Smaller status badge on mobile */
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Mobile-specific styles */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem;
    }
    .header h1 {
        font-size: 1.8rem;
    }
    .header img {
        width: 60px;
    }
    .table th, .table td {
        font-size: 0.75rem;
    }
    .table .btn-sm {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    .status-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    .view-applications .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .view-applications .action-buttons .btn {
        width: 100%;
        margin-bottom: 0.3rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }
    .header h1 {
        font-size: 1.5rem;
    }
    .table th, .table td {
        font-size: 0.7rem;
    }
}