/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 2.5rem;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.logo h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tagline {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    margin-bottom: 20px;
}

/* Navigation Styles */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-link:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255,255,255,0.9);
    color: #2d3748;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.nav-link i {
    font-size: 1rem;
}

/* Auth Section */
.auth-section {
    display: flex;
    gap: 10px;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.9);
    padding: 8px 15px;
    border-radius: 12px;
    color: #2d3748;
    font-weight: 500;
}

.user-info span {
    font-weight: 600;
}

.logout-btn {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 101, 101, 0.3);
}

.logout-btn i {
    font-size: 0.8rem;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

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

.card-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card-header h2 i {
    color: #667eea;
}

.card-header p {
    color: #718096;
    font-size: 1.1rem;
}

/* Form Styles */
.upload-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #2d3748;
    font-size: 1rem;
}

/* File Upload Area */
.file-label {
    cursor: pointer;
    display: block;
}

.file-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.file-upload-area:hover {
    border-color: #667eea;
    background: #edf2f7;
    transform: translateY(-2px);
}

.file-upload-area i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.file-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 5px;
}

.file-hint {
    display: block;
    font-size: 0.9rem;
    color: #718096;
}

input[type="file"] {
    display: none;
}

/* Current resume display */
.current-resume {
    background: #f0fff4;
    border: 2px solid #48bb78;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.current-resume-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-resume-info i {
    font-size: 2rem;
    color: #48bb78;
}

.resume-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.resume-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
}

.resume-date {
    color: #718096;
    font-size: 0.9rem;
}

.change-resume-btn {
    background: #48bb78;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.change-resume-btn:hover {
    background: #38a169;
    transform: translateY(-1px);
}

/* Select Input */
.select-input {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.select-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Status Section */
.status-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #2d3748;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.status-section:empty {
    display: none;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.feature-card p {
    color: #718096;
    line-height: 1.6;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Success/Error States */
.status-success {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.status-error {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
}

.status-info {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
} 

/* Job Search Page Styles */
.job-search-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.job-search-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2d3748;
    font-size: 2rem;
}

.job-type-selector {
    text-align: center;
    margin-bottom: 30px;
}

.job-type-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2d3748;
}

.job-type-selector select {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    min-width: 200px;
}

.search-form {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-section {
    background: #f7fafc;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.filter-section h3 {
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 1.2rem;
}

.common-filters {
    background: #edf2f7;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #cbd5e0;
}

.common-filters h3 {
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 1.2rem;
}

/* Email Preferences Section */
.email-preferences-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.email-preferences-section h3 {
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-settings {
    max-width: 600px;
}

/* Results Section */
.jobs-results {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f7fafc;
    flex-wrap: wrap;
    gap: 15px;
}

.results-header h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.5rem;
}

.jobs-count {
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 500;
}

.results-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Job Type Tabs */
.job-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.tab-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    gap: 20px;
}

.job-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.job-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
    flex: 1;
}

.job-type-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-type-badge.internship {
    background: #e6fffa;
    color: #234e52;
}

.job-type-badge.part-time {
    background: #fef5e7;
    color: #744210;
}

.job-type-badge.full-time {
    background: #e6f3ff;
    color: #1a365d;
}

.job-company {
    font-size: 1rem;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 5px;
}

.job-location {
    font-size: 0.9rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.job-match-score {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.match-label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.match-value {
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
}

.match-value.excellent {
    background: #c6f6d5;
    color: #22543d;
}

.match-value.good {
    background: #fef5e7;
    color: #744210;
}

.match-value.fair {
    background: #fed7d7;
    color: #742a2a;
}

.match-value.poor {
    background: #fed7d7;
    color: #742a2a;
}

.match-value.no-score {
    background: #e2e8f0;
    color: #4a5568;
}

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

.job-details > div {
    background: #f7fafc;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #4a5568;
}

.job-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin: 30px 0;
}

.loading-spinner i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.loading-spinner p {
    font-size: 1.1rem;
    color: #4a5568;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .results-actions {
        justify-content: center;
    }
    
    .job-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .job-type-badge {
        align-self: flex-start;
    }
    
    .job-details {
        flex-direction: column;
    }
    
    .job-actions {
        flex-direction: column;
    }
    
    .job-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.3);
} 

/* Job Type Section Styles */
.job-type-section {
    margin-bottom: 40px;
}

.job-type-title {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.jobs-subgrid {
    display: grid;
    gap: 20px;
}

/* Job Requirements and Benefits */
.job-requirements,
.job-benefits {
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.job-requirements ul,
.job-benefits ul {
    margin: 10px 0;
    padding-left: 20px;
}

.job-requirements li,
.job-benefits li {
    margin-bottom: 5px;
    color: #4a5568;
} 

/* Resume Upload Section */
.resume-upload-section {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid #e2e8f0;
}

.resume-upload-section h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.upload-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upload-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.upload-group label {
    font-weight: 600;
    color: #4a5568;
    min-width: 120px;
}

.upload-group input[type="file"] {
    flex: 1;
    padding: 8px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
}

.upload-status {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #718096;
}

.status-item i {
    font-size: 0.7rem;
}

.status-item.uploaded {
    color: #38a169;
}

.status-item.uploaded i {
    color: #38a169;
}

/* Cover Letter Options */
.cover-letter-options {
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

.cover-letter-options h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #667eea;
} 

/* Cover Letter Modal */
.cover-letter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.modal-header h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.3rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #718096;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #e2e8f0;
    color: #2d3748;
}

.modal-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
}

.cover-letter-text {
    line-height: 1.6;
    color: #2d3748;
    font-size: 1rem;
    white-space: pre-line;
}

.modal-footer {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    justify-content: flex-end;
} 

/* Jobs Container Styles - More Compact */
.jobs-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.jobs-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.jobs-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.jobs-title i {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    padding: 12px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.jobs-subtitle {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 400;
}

/* Source Breakdown - More Compact */
.source-breakdown {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 18px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #feca57;
}

.source-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.source-tag {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.source-tag:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.source-name {
    color: #2d3748;
    font-weight: 500;
    font-size: 0.9rem;
}

.source-count {
    background: rgba(102, 126, 234, 0.2);
    color: #2d3748;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Jobs Grid - More Compact */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}

.job-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 18px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 15px 15px 0 0;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.2);
}

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

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

.job-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 6px;
    line-height: 1.3;
}

.job-company {
    color: #4a5568;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-company i {
    color: #feca57;
    font-size: 0.8rem;
}

.job-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.job-source {
    background: rgba(102, 126, 234, 0.2);
    color: #2d3748;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.job-type {
    background: rgba(72, 187, 120, 0.2);
    color: #2d3748;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

/* Job Details - More Compact */
.job-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-size: 0.85rem;
}

.job-detail i {
    color: #feca57;
    width: 14px;
    text-align: center;
    font-size: 0.8rem;
}

/* Requirements and Benefits - More Compact */
.job-requirements,
.job-benefits {
    margin-bottom: 15px;
}

.requirements-title,
.benefits-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.requirements-title i {
    color: #48bb78;
    font-size: 0.8rem;
}

.benefits-title i {
    color: #ed8936;
    font-size: 0.8rem;
}

.requirements-list,
.benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.requirement-tag,
.benefit-tag {
    background: rgba(255, 255, 255, 0.3);
    color: #2d3748;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.more-requirements,
.more-benefits {
    background: rgba(255, 255, 255, 0.2);
    color: #718096;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-style: italic;
}

/* Job Footer - More Compact */
.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.relevance-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.score-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: conic-gradient(
        #48bb78 0deg var(--score) * 3.6deg,
        rgba(255, 255, 255, 0.3) var(--score) * 3.6deg 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.score-text {
    color: #2d3748;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 1;
    position: relative;
}

.score-label {
    color: #718096;
    font-size: 0.7rem;
    font-weight: 500;
}

.apply-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(72, 187, 120, 0.3);
}

.apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
}

.apply-btn i {
    font-size: 0.8rem;
}

/* Jobs Footer - More Compact */
.jobs-footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.email-notification {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #2d3748;
    font-size: 0.95rem;
}

.email-notification i {
    color: #feca57;
    font-size: 1.1rem;
}

/* Responsive Design - Adjusted for compact layout */
@media (max-width: 768px) {
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .job-card {
        padding: 15px;
    }
    
    .job-card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .job-badges {
        align-items: flex-start;
    }
    
    .job-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .jobs-title {
        font-size: 1.5rem;
    }
    
    .jobs-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .jobs-container {
        padding: 0 8px;
    }
    
    .job-card {
        padding: 12px;
    }
    
    .source-tags {
        justify-content: center;
    }
    
    .jobs-header,
    .source-breakdown,
    .jobs-footer {
        padding: 15px;
    }
} 