
/* Internships Header Section */
.internships-header {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2d2654 100%);
    padding: 5rem 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.internships-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
}

.internships-header .container {
    position: relative;
    z-index: 2;
}

.internships-header h1 {
    color: white;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 2.75rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.internships-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Search Page Specific Styles */
.search-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 2rem 0;
}

/* CSS Variables - Official NoviStage Brand Colors */
:root {
    --primary-navy: #211d3e;
    --primary-orange: #ff851c;
    --primary-orange-light: #ff9f5a;
    --primary-red: #ff2938;
    --primary-green: #55cc38;
    --primary-cyan: #00aff0;
    --primary-cyan-light: #4fd1c7;
    --secondary-blue: #0066ff;
    --secondary-purple: #6600cc;
    --secondary-gray: #a6a6a6;
    --secondary-red: #ff0000;
    
    /* Text colors */
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
}

.filter-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.category-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    min-width: 140px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-card:hover, .category-card.active {
    border-color: var(--primary-orange);
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25);
}

.category-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #6c757d;
}

.category-card:hover .category-icon, .category-card.active .category-icon {
    color: white;
}

.category-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.category-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Modern Internship Cards */
.modern-internship-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(33, 29, 62, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
    height: 360px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.modern-internship-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(33, 29, 62, 0.12);
    border-color: var(--primary-navy);
}

.card-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.job-icon {
    width: 52px;
    height: 52px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-navy);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.modern-internship-card:hover .job-icon {
    background: var(--primary-navy);
    color: white;
}

.stage-badge {
    background: var(--primary-navy);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.card-content-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.job-title {
    font-size: 19px;
    font-weight: 600;
    color: var(--primary-navy);
    margin: 0 0 18px 0;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.job-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tag-green {
    background: rgba(104, 211, 145, 0.1);
    color: var(--primary-green);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(104, 211, 145, 0.2);
}

.tag-orange {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.tag-blue {
    background: rgba(79, 209, 199, 0.1);
    color: var(--primary-cyan);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(79, 209, 199, 0.2);
}

.tag-purple {
    background: rgba(138, 43, 226, 0.1);
    color: #8a2be2;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.tag-red {
    background: rgba(229, 62, 62, 0.1);
    color: var(--primary-red);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(229, 62, 62, 0.2);
}

.company-info-modern {
    flex: 1;
    margin-bottom: 16px;
}

.company-name {
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
    font-weight: 600;
}

.job-duration {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.company-location {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
}

.company-location i {
    color: #aaa;
    margin-right: 4px;
}

.card-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.company-logo-small {
    width: 40px;
    height: 40px;
    background: var(--primary-navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.logo-text {
    font-family: 'Inter', sans-serif;
}

.apply-actions {
    display: flex;
    gap: 8px;
}

.btn-apply-modern, .btn-save-modern {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    background: #f8f9fa;
    color: #6c757d;
}

.btn-apply-modern:hover {
    background: var(--primary-navy);
    color: white;
    border-color: var(--primary-navy);
}

.btn-apply-modern.applied {
    background: #28a745;
    color: white;
    border-color: #28a745;
    cursor: default;
}

.btn-apply-modern.not-eligible {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.already-applied-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #e8f5e8;
    color: #2d5a2d;
    border: 1px solid #c3e6c3;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: default;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-save-modern:hover {
    background: #e9ecef;
    color: #495057;
}

/* New attractive button styles */
.btn-apply, .btn-applied, .btn-not-eligible {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-apply {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.btn-apply:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    color: white;
}

.btn-applied {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
    cursor: default;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.2);
}

.btn-not-eligible {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-text {
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .btn-apply, .btn-applied, .btn-not-eligible {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .btn-text {
        display: none;
    }
}

.search-form {
    background: transparent;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: none;
    border: none;
    margin-bottom: 2rem;
}

/* Search Input with Icon */
.search-input-wrapper {
    position: relative;
}

.search-input {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.875rem 1rem 0.875rem 3rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fff;
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.9rem;
    pointer-events: none;
}

/* Select with Custom Arrow */
.select-wrapper {
    position: relative;
}

.search-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.875rem 3rem 0.875rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fff;
    font-family: 'Inter', sans-serif;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.8rem;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.search-input:focus, .search-select:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(33, 29, 62, 0.08);
    outline: none;
}

.search-input:focus + .search-icon {
    color: var(--primary-navy);
}

.search-select:focus + .select-arrow {
    color: var(--primary-navy);
}

.search-btn {
    background: #1a1640;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* See More Button */
.btn-see-more {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e55a00 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.2);
    font-family: 'Inter', sans-serif;
}

.btn-see-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
    background: linear-gradient(135deg, #e55a00 0%, var(--primary-orange) 100%);
}

.btn-see-more i {
    transition: transform 0.3s ease;
}

.btn-see-more:hover i {
    transform: rotate(90deg);
}

.search-btn:hover {
    background: #2d2a5a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 22, 64, 0.25);
}

/* Student Profile Banner */
.student-profile-banner {
    background: linear-gradient(135deg, #1a1640 0%, #2d2a5a 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.profile-badges .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    margin-right: 0.5rem;
}

/* Login Required Modal Styles */
.login-modal-dialog {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1060;
}

.login-modal {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(33, 29, 62, 0.2);
    overflow: hidden;
    background: white;
    position: relative;
}

.login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.login-modal-close:hover {
    background: #e9ecef;
    color: #495057;
    transform: scale(1.1);
}

.login-modal-body {
    padding: 40px 32px 32px 32px;
    background: white;
}

.login-modal-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 24px;
    color: white;
}

.login-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.login-modal-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.login-modal-subtitle {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    font-size: 14px;
}

.login-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.login-modal-btn-cancel {
    background: #f8f9fa;
    color: var(--text-secondary);
    border: 1px solid #e9ecef;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

.login-modal-btn-cancel:hover {
    background: #e9ecef;
    color: var(--text-primary);
    transform: translateY(-1px);
}

.login-modal-btn-connect {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.login-modal-btn-connect:hover {
    background: #e55a2b;
    color: white;
    transform: translateY(-1px);
}

/* Modern Modal Styles */
.modern-modal {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.modal-header-modern {
    background: white;
    border: none;
    padding: 20px 20px 0 20px;
    display: flex;
    justify-content: flex-end;
}

.btn-close-modern {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-modern:hover {
    background: #e9ecef;
    color: #333;
}

.modal-body-modern {
    padding: 20px 40px 40px 40px;
}

.job-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.job-detail-title {
    flex: 1;
}

.job-detail-title h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.job-detail-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 12px;
}

.job-detail-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.apply-button-large {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.apply-button-large:hover {
    background: #218838;
    transform: translateY(-2px);
}

.job-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.job-description-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 16px 0;
}

.job-description-text {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 24px;
}

.mission-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    line-height: 1.5;
}

.mission-item span {
    color: #4a5568;
    font-size: 14px;
}

.description-section h4,
.missions-section h4,
.profile-section h4 {
    color: #ff6b35 !important;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deadline-section {
    background: #fff3cd !important;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    margin-bottom: 20px;
}

.deadline-section .fas {
    color: #856404;
    margin-right: 10px;
}

.deadline-section span {
    color: #856404;
    font-weight: 600;
}

.company-header {
    text-align: center;
    margin-bottom: 20px;
}

.company-icon {
    width: 60px;
    height: 60px;
    background: #6c757d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.company-icon i {
    color: white;
    font-size: 24px;
}

.company-type {
    background: #e9ecef;
    color: #495057;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.company-details {
    margin-bottom: 20px;
}

.company-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
}

.company-detail-item i {
    color: #6c757d;
    margin-right: 10px;
    margin-top: 2px;
    width: 16px;
    flex-shrink: 0;
}

.company-detail-item span {
    color: #495057;
    line-height: 1.4;
}

.apply-section {
    margin-top: 20px;
}

.apply-button-sidebar {
    width: 100%;
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.apply-button-sidebar:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.job-requirements h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 12px 0;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 14px;
}

.requirements-list li::before {
    content: "●";
    color: #28a745;
    font-weight: bold;
    margin-top: 2px;
}

.company-sidebar {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
}

.company-sidebar h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 16px 0;
}

.company-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #4a5568;
    font-size: 14px;
}

.company-info-item i {
    width: 16px;
    color: #666;
}

.company-ad {
    background: #007bff;
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 12px;
    margin-top: 24px;
}

.company-ad h5 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* CV Display Styles */
.cv-display-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
}

.cv-file-info {
    display: flex;
    align-items: center;
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.cv-filename {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .internships-header p {
        font-size: 1.05rem;
    }
    
    .search-page {
        padding: 1.5rem 0;
    }
}

/* Application Modal Styling */
.modal-backdrop {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(26, 22, 64, 0.4) !important;
}

.application-modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(26, 22, 64, 0.3);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.application-modal-content .modal-header {
    background: white;
    color: #1a1640;
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.application-modal-content .modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.application-modal-content .btn-close {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    opacity: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 10;
}

.application-modal-content .btn-close:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: scale(1.1);
}

.application-modal-content .btn-close::before {
    content: '×';
    color: #6c757d;
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
}

.application-modal-content .modal-body {
    padding: 1.5rem;
    background: white;
    max-height: 60vh;
    overflow-y: auto;
}

.application-modal-content .modal-body h6 {
    color: #1a1640;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.application-modal-content .modal-body .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.application-modal-content .form-label {
    color: #1a1640;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.application-modal-content .form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.application-modal-content .form-control:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
    transform: translateY(-1px);
}

.application-modal-content .cv-display-section {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.application-modal-content .cv-file-info {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.application-modal-content .cv-file-info i {
    font-size: 1.5rem;
    color: #dc3545;
}

.application-modal-content .cv-filename {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
    flex: 1;
    text-align: left;
}

.application-modal-content .btn-outline-primary {
    border-color: #ff6b35;
    color: #ff6b35;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.application-modal-content .btn-outline-primary:hover {
    background-color: #ff6b35;
    border-color: #ff6b35;
    transform: translateY(-1px);
}

.application-modal-content .modal-footer {
    background: #f8f9fa;
    border: none;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
}

.application-modal-content .modal-footer .btn {
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

.application-modal-content .modal-footer .btn-secondary {
    background: #6c757d !important;
    color: white !important;
    border: none !important;
}

.application-modal-content .modal-footer .btn-secondary:hover {
    background: #5a6268 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3) !important;
    color: white !important;
}

.application-modal-content .modal-footer .btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    border: none !important;
}

.application-modal-content .modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4) !important;
    color: white !important;
}

.application-modal-content .modal-footer .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.application-modal-content .modal-footer .btn-primary:hover::before {
    left: 100%;
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: translate(0, -50px) scale(0.95);
    transition: all 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: translate(0, 0) scale(1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .application-modal-content .modal-header,
    .application-modal-content .modal-body,
    .application-modal-content .modal-footer {
        padding: 1.5rem;
    }
    
    .application-modal-content .modal-footer .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Login Required Modal Content Styles */
.login-modal-content {
    text-align: center;
    margin-bottom: 32px;
}
