/**
 * FILE: /var/www/html/assets/css/careers.css
 * DESCRIPTION: Styles for careers/jobs page
 * Extracted from inline styles for better performance and caching
 */

/* Login Button */
.login-btn {
    background: linear-gradient(135deg, #00ffff, #0099cc) !important;
    color: #000 !important;
    padding: 4px 10px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3) !important;
    display: inline-block !important;
    border: none !important;
    cursor: pointer !important;
    margin-left: 10px;
}
.login-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4) !important;
}

/* Logo */
.logo-link { display: flex; align-items: center; text-decoration: none; transition: transform 0.3s ease, opacity 0.3s ease; }
.logo-link:hover { transform: scale(1.05); opacity: 0.9; }
.logo-image { height: 70px; width: auto; display: block; }

/* Navigation */
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-item { position: relative; }
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 5px; }
.dropdown-toggle::after { content: '▼'; font-size: 0.7em; transition: transform 0.3s ease; }
.dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: linear-gradient(135deg, rgba(0, 20, 40, 0.98), rgba(0, 30, 60, 0.98));
    border: 1px solid rgba(0, 255, 255, 0.3); border-radius: 10px; padding: 10px 0; min-width: 200px;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2); z-index: 1000;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
    display: block; padding: 12px 20px; color: #ffffff; text-decoration: none; transition: all 0.3s ease;
    border-left: 3px solid transparent;
}
.dropdown-menu a:hover { background: rgba(0, 255, 255, 0.1); border-left-color: #00ffff; color: #00ffff; padding-left: 25px; }

/* Positions Grid */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.position-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}
.position-card.featured {
    border-color: #00ffff;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}
.position-card:hover {
    transform: translateY(-5px);
}
.position-card h3 {
    color: #00ffff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.position-description {
    opacity: 0.9;
    margin-bottom: 20px;
}
.position-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    opacity: 0.8;
}
.position-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}
.position-features li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #00ffff;
}
.position-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.location, .salary {
    font-size: 0.9rem;
    opacity: 0.7;
}
.apply-btn {
    background: linear-gradient(135deg, #00ffff, #0099cc);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Application Section */
.apply-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}
.apply-steps {
    display: grid;
    gap: 20px;
}
.step-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #00ffff;
}
.step-number {
    background: #00ffff;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}
.step-card h4 {
    color: #00ffff;
    margin-bottom: 10px;
}
.apply-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}
.apply-form h3 {
    color: #00ffff;
    margin-bottom: 20px;
    text-align: center;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    box-sizing: border-box;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #00ffff, #0099cc);
    color: #000;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Legal Modal */
.legal-modal { position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); }
.legal-modal-content {
    background: linear-gradient(135deg, rgba(0, 20, 40, 0.95), rgba(0, 30, 60, 0.95)); margin: 2% auto; padding: 0;
    border: 1px solid rgba(0, 255, 255, 0.3); border-radius: 20px; width: 90%; max-width: 900px; max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.3); position: relative; overflow: hidden;
}
.legal-modal-header {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 128, 255, 0.1)); border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    padding: 20px 30px; display: flex; justify-content: space-between; align-items: center;
}
.legal-modal-header h2 { color: #00ffff; margin: 0; font-size: 1.8rem; font-weight: 600; }
.legal-close { color: #ffffff; font-size: 2rem; font-weight: bold; cursor: pointer; padding: 0 10px; transition: all 0.3s ease; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.legal-close:hover { color: #ff6b6b; background: rgba(255, 107, 107, 0.1); transform: rotate(90deg); }
.legal-modal-body { padding: 30px; max-height: calc(90vh - 100px); overflow-y: auto; color: #ffffff; line-height: 1.6; }
.legal-modal-body::-webkit-scrollbar { width: 8px; }
.legal-modal-body::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.3); border-radius: 4px; }
.legal-modal-body::-webkit-scrollbar-thumb { background: rgba(0, 255, 255, 0.5); border-radius: 4px; }
.legal-modal-body::-webkit-scrollbar-thumb:hover { background: rgba(0, 255, 255, 0.7); }
.loading-spinner { text-align: center; padding: 40px; color: #00ffff; font-size: 1.1rem; }

/* Responsive */
@media (max-width: 768px) {
    .login-btn { padding: 5px 12px !important; font-size: 0.9rem !important; margin-left: 5px; }
    .nav-links { gap: 15px; }
    .logo-image { height: 55px; }
    .apply-content { grid-template-columns: 1fr; gap: 30px; }
    .position-footer { flex-direction: column; align-items: flex-start; }
    .positions-grid { grid-template-columns: 1fr; }
    .legal-modal-content { width: 95%; margin: 5% auto; max-height: 85vh; }
    .legal-modal-header { padding: 15px 20px; }
    .legal-modal-header h2 { font-size: 1.5rem; }
    .legal-modal-body { padding: 20px; max-height: calc(85vh - 80px); }
}
@media (max-width: 480px) {
    .logo-image { height: 45px; }
}
