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

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

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

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

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-small {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

.floating-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

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

/* Analysis Section */
.analysis {
    padding: 80px 0;
    background: #f8f9fa;
}

.analysis-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.analysis-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analysis-card h3 i {
    color: #667eea;
}

/* Input Groups */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: #667eea;
}

.radio-label input[type="radio"] {
    margin: 0;
}

.radio-label input[type="radio"]:checked + span {
    color: #667eea;
    font-weight: 600;
}

.input-section {
    margin-bottom: 1.5rem;
}

.input-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.text-input,
.file-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.text-input:focus,
.file-input:focus {
    outline: none;
    border-color: #667eea;
}

textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #667eea;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    background: #f8f9ff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    background: #e8f0ff;
    border-color: #5a6fd8;
}

.upload-area.dragover {
    background: #e8f0ff;
    border-color: #5a6fd8;
    transform: scale(1.02);
}

.upload-area i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.upload-area p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.upload-hint {
    font-size: 0.9rem;
    color: #666;
}

/* Resume List */
.resume-list {
    margin-top: 1rem;
}

.resume-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.resume-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.resume-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.resume-item-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-group label {
    font-weight: 600;
    color: #333;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e9ecef;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
}

.number-input,
.select-input {
    padding: 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
}

.number-input:focus,
.select-input:focus {
    outline: none;
    border-color: #667eea;
}

/* Analysis Actions */
.analysis-actions {
    text-align: center;
    margin-top: 2rem;
}

/* Results Section */
.results {
    padding: 80px 0;
    background: white;
}

.progress-section {
    text-align: center;
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.3s ease;
}

.results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.summary-card {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    color: white;
    font-weight: 600;
}

.summary-card.exceptional {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.summary-card.qualified {
    background: linear-gradient(135deg, #007bff, #6610f2);
}

.summary-card.medium {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.summary-card.unqualified {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
}

.summary-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.summary-card span {
    font-size: 2rem;
}

/* Results List */
.results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.result-item:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.result-score {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: white;
}

.result-score.exceptional {
    background: #28a745;
}

.result-score.qualified {
    background: #007bff;
}

.result-score.medium {
    background: #ffc107;
    color: #333;
}

.result-score.unqualified {
    background: #dc3545;
}

.result-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.detail-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.detail-value {
    color: #666;
}

.result-actions {
    display: flex;
    gap: 0.5rem;
}

/* Jobs and Resumes Sections */
.jobs,
.resumes {
    padding: 80px 0;
    background: white;
    border-top: 1px solid #e9ecef;
}

.jobs-header,
.resumes-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.jobs-list,
.resumes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Account Section */
.account {
    padding: 80px 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.account-content {
    max-width: 800px;
    margin: 0 auto;
}

.account-profile {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.profile-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.8rem;
}

.account-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.account-type-badge.individual {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-color: rgba(102, 126, 234, 0.2);
}

.account-type-badge.company {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.2);
}

.account-type-badge.recruiter {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.2);
}

.account-details {
    margin-bottom: 2rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.detail-section h4 i {
    color: #667eea;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.detail-item label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.detail-item span {
    color: #333;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.account-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 2px solid #f8f9fa;
}

/* Responsive Design for Account Page */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .account-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-avatar {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
    background: white;
    border-radius: 12px;
    border: 2px dashed #e9ecef;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.empty-state p {
    margin: 0 0 1.5rem 0;
    color: #666;
}

.empty-state-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #666;
}

/* User Type Selector */
.user-type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-type-option {
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.user-type-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.user-type-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.user-type-option i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    display: block;
}

.user-type-option span {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.user-type-option small {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

/* Modal Improvements */
.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.8rem;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    background: #e1e5e9;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength-bar.weak {
    background: #ff6b6b;
    width: 25%;
}

.password-strength-bar.fair {
    background: #ffa726;
    width: 50%;
}

.password-strength-bar.good {
    background: #66bb6a;
    width: 75%;
}

.password-strength-bar.strong {
    background: #42a5f5;
    width: 100%;
}

/* Form Validation Styles */
.form-group.error input {
    border-color: #ff6b6b;
}

.form-group.error .error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-group.success input {
    border-color: #66bb6a;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .results-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .jobs-list,
    .resumes-list {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 1rem;
}

.hidden {
    display: none;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 400px;
    animation: slideIn 0.3s ease;
}

.notification button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.notification button:hover {
    opacity: 0.8;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
} 

/* Form Footer */
.form-footer {
    margin-top: 1.5rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
}

.form-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
} 

/* Streamlit-style Results */
.streamlit-style-results {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hiring-filter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.hiring-filter-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
}

.filter-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-info p {
    margin: 0;
    font-size: 0.95rem;
}

.category-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-header {
    padding: 1.5rem;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #e9ecef;
}

.category-header.exceptional {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.category-header.qualified {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.category-header.medium {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #333;
}

.category-header.unqualified {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.candidate-card {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.candidate-card:last-child {
    border-bottom: none;
}

.candidate-card:hover {
    background: #f8f9fa;
}

.candidate-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.candidate-header:hover {
    background: rgba(102, 126, 234, 0.05);
}

.candidate-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.candidate-score {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 80px;
    text-align: center;
}

.candidate-score.exceptional {
    background: #28a745;
    color: white;
}

.candidate-score.qualified {
    background: #007bff;
    color: white;
}

.candidate-score.medium {
    background: #ffc107;
    color: #333;
}

.candidate-score.unqualified {
    background: #dc3545;
    color: white;
}

.candidate-score.error {
    background: #6c757d;
    color: white;
}

.expand-icon {
    color: #666;
    transition: transform 0.3s ease;
}

.candidate-details {
    padding: 0 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: #667eea #f0f0f0;
}

.candidate-details::-webkit-scrollbar {
    width: 8px;
}

.candidate-details::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.candidate-details::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

.candidate-details::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

.candidate-details.collapsed {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.score-breakdown {
    padding: 1.5rem 0;
}

.score-breakdown h4 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.score-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.score-item:last-child {
    border-bottom: none;
}

.score-item.final-score {
    background: #f8f9fa;
    margin: 1rem -1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 2px solid #667eea;
}

.score-label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.score-value {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1rem;
    text-align: right;
}

.score-summary {
    grid-column: 1 / -1;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

.missing-items {
    grid-column: 1 / -1;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Penalties */
.penalties {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

.penalty {
    display: inline-block;
    background: #f8d7da;
    color: #721c24;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin: 0.1rem 0.2rem 0.1rem 0;
    border: 1px solid #f5c6cb;
}

/* Skill Tiers */
.skill-tiers {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

.tier {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin: 0.1rem 0;
    font-weight: 500;
}

.tier.essential {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.tier.important {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.tier.nice-to-have {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Project Breakdown */
.project-breakdown {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

.project-type {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin: 0.1rem 0;
    font-weight: 500;
}

.project-type.high {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.project-type.basic {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

/* Soft Skills Indicators */
.soft-skills-indicators {
    grid-column: 1 / -1;
    background: #e7f3ff;
    color: #0c5460;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    border: 1px solid #bee5eb;
}

/* Weight Breakdown */
.weight-breakdown {
    grid-column: 1 / -1;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 0.5rem;
}

.weight-item {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #e9ecef;
}

.weight-item:last-child {
    border-bottom: none;
    font-weight: 600;
    color: #667eea;
}

.weight-item:last-child::before {
    content: "Total: ";
    font-weight: 600;
}

.candidate-actions {
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
}

.error-message {
    padding: 1rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Resume Modal */
.resume-modal {
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.resume-text-content {
    flex: 1;
    overflow-y: auto;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.resume-text-content pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .candidate-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .candidate-score {
        align-self: flex-end;
    }
    
    .score-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .score-value {
        text-align: left;
    }
    
    .filter-info {
        grid-template-columns: 1fr;
    }
} 



/* Candidate Card Filename */
.candidate-title .filename {
    display: block;
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
    margin-top: 0.25rem;
} 

/* Job Details Section */
.job-details-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.job-details-section h4 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.detail-item input,
.detail-item textarea {
    padding: 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
}

.detail-item input:focus,
.detail-item textarea:focus {
    outline: none;
    border-color: #667eea;
}

.detail-item input[readonly],
.detail-item textarea[readonly] {
    background: #f8f9fa;
    color: #666;
    cursor: not-allowed;
}

/* Extract Job Button */
#extractJobBtn {
    margin-top: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#extractJobBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
} 

/* Tooltips */
.tooltip-trigger {
    color: #667eea;
    cursor: help;
    margin-left: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.tooltip-trigger:hover {
    color: #764ba2;
}

.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    max-width: 300px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.9);
}

/* Apple-like Transitions */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn, .nav-link, .modal-content, .card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Positions Section */
.positions {
    padding: 80px 0;
    background: white;
    border-top: 1px solid #e9ecef;
}

.positions-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.positions-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.5rem;
}

.positions-info p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.positions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.position-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.position-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.position-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.position-card:hover::before {
    transform: scaleX(1);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.position-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.position-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.position-status.active {
    background: #d4edda;
    color: #155724;
}

.position-status.closed {
    background: #f8d7da;
    color: #721c24;
}

.position-company {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.position-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.position-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.position-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Position Details Section */
.position-details-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.position-details-grid {
    display: grid;
    gap: 1rem;
}

/* Enhanced Form Styling */
.form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

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

/* Company-only elements */
.company-only {
    display: none;
}

.company-only.show {
    display: inline-block;
} 

/* Demo Tutorial Modal */
.demo-modal {
    max-width: 700px;
    max-height: 80vh;
    overflow: hidden;
}

.demo-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.demo-header h2 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.8rem;
}

.demo-header p {
    margin: 0;
    color: #666;
    font-size: 1.1rem;
}

.demo-steps {
    margin-bottom: 2rem;
}

.demo-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.demo-step.active {
    display: block;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.step-content h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.3rem;
}

.step-content p {
    margin: 0 0 1.5rem 0;
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.step-visual {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
    border: 2px dashed #667eea;
}

.step-visual i {
    font-size: 3rem;
    color: #667eea;
}

.demo-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
}

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

/* Enhanced Professional Styling */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Enhanced Cards */
.analysis-card, .feature-card, .position-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.analysis-card::before, .feature-card::before, .position-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.analysis-card:hover, .feature-card:hover, .position-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.analysis-card:hover::before, .feature-card:hover::before, .position-card:hover::before {
    transform: scaleX(1);
} 

/* Analysis Header */
.analysis-header {
    text-align: center;
    margin-bottom: 3rem;
}

.analysis-info h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.8rem;
}

.analysis-info p {
    margin: 0 0 2rem 0;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.analysis-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 25px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.feature-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.feature-item span {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Enhanced Upload Area */
.upload-area {
    border: 3px dashed #667eea;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: #764ba2;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.upload-area.dragover {
    border-color: #764ba2;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    transform: scale(1.02);
}

.upload-content i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
    display: block;
}

.upload-content h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.3rem;
}

.upload-content p {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 1rem;
}

.upload-formats {
    font-size: 0.85rem !important;
    color: #999 !important;
    font-style: italic;
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.file-item:hover {
    border-color: #667eea;
    background: #f0f2ff;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-icon {
    color: #667eea;
    font-size: 1.2rem;
}

.file-name {
    font-weight: 600;
    color: #333;
}

.file-size {
    font-size: 0.8rem;
    color: #666;
}

.file-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.file-remove:hover {
    background: #dc3545;
    color: white;
}

/* Page-based Navigation */
.page {
    display: none;
    min-height: calc(100vh - 80px);
    padding-top: 80px;
    overflow-y: auto;
    height: calc(100vh - 80px);
}

.page.active {
    display: block;
}

/* Admin pages need extra height and scrolling */
#adminDashboardPage,
#adminUsersPage,
#adminFinancePage,
#adminAnalyticsPage {
    min-height: 100vh;
    padding: 2rem 0;
    overflow-y: auto;
}

/* Loading States */
.loading-state {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.loading-spinner-small {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-state p {
    margin: 0;
    color: #667eea;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button Groups */
.button-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Analysis Processing State */
.analysis-processing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.analysis-processing-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.analysis-processing-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 126, 234, 0.3);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.analysis-processing h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.analysis-processing p {
    color: #666;
    margin-bottom: 1rem;
}

.analysis-progress {
    width: 100%;
    height: 6px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.analysis-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Enhanced User Type Selector */
.user-type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.user-type-option {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-type-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.user-type-option:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.user-type-option.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.user-type-option.selected::before {
    opacity: 0.1;
}

.user-type-option > * {
    position: relative;
    z-index: 1;
}

.user-type-option i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    display: block;
}

.user-type-option.selected i {
    color: #667eea;
}

.user-type-option span {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.user-type-option.selected span {
    color: #667eea;
}

.user-type-option small {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

.user-type-option.selected small {
    color: #667eea;
} 

/* Results Page Styles */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.results-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.results-actions {
    display: flex;
    gap: 1rem;
}

.results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.summary-card.exceptional {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
}

.summary-card.qualified {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
}

.summary-card.medium {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
}

.summary-card.unqualified {
    border-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
}

.summary-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.summary-card span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.summary-card.exceptional span {
    color: #10b981;
}

.summary-card.qualified span {
    color: #3b82f6;
}

.summary-card.medium span {
    color: #f59e0b;
}

.summary-card.unqualified span {
    color: #ef4444;
}

.summary-card small {
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #e5e7eb;
}

.result-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.result-item.exceptional {
    border-left-color: #10b981;
}

.result-item.qualified {
    border-left-color: #3b82f6;
}

.result-item.medium {
    border-left-color: #f59e0b;
}

.result-item.unqualified {
    border-left-color: #ef4444;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.result-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.result-score.exceptional {
    color: #10b981;
}

.result-score.qualified {
    color: #3b82f6;
}

.result-score.medium {
    color: #f59e0b;
}

.result-score.unqualified {
    color: #ef4444;
}

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

.detail-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.detail-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.result-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Progress Section */
.progress-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

#progressText {
    color: #666;
    font-weight: 500;
    margin: 0;
}

/* User Info Styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.user-info span {
    color: #667eea;
    font-weight: 500;
}

.user-info .btn-small {
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
}

/* Account Page Styles */
.account-content {
    max-width: 800px;
    margin: 0 auto;
}

.account-profile {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f8f9fa;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
}

.profile-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.8rem;
}

.account-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.account-type-badge.individual {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-color: rgba(102, 126, 234, 0.2);
}

.account-type-badge.company {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.2);
}

.account-type-badge.recruiter {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.2);
}

.account-details {
    margin-bottom: 2rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.detail-section h4 i {
    color: #667eea;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.detail-item label {
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.detail-item span {
    color: #333;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.account-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 2px solid #f8f9fa;
}

/* Responsive Design for Account Page */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .account-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-avatar {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .results-actions {
        justify-content: center;
    }
    
    .results-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .result-details {
        grid-template-columns: 1fr;
    }
    
    .user-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .results-summary {
        grid-template-columns: 1fr;
    }
    
    .summary-card {
        padding: 1rem;
    }
    
    .summary-card span {
        font-size: 2rem;
    }
} 

/* Analysis Modal Styles */
.analysis-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.analysis-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.analysis-modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.analysis-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.score-number {
    font-size: 2rem;
    font-weight: 700;
}

.score-category {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analysis-score.exceptional .score-number,
.analysis-score.exceptional .score-category {
    color: #10b981;
}

.analysis-score.qualified .score-number,
.analysis-score.qualified .score-category {
    color: #3b82f6;
}

.analysis-score.medium .score-number,
.analysis-score.medium .score-category {
    color: #f59e0b;
}

.analysis-score.unqualified .score-number,
.analysis-score.unqualified .score-category {
    color: #ef4444;
}

.job-context {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.job-context h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-context h3 i {
    opacity: 0.9;
}

.job-context-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.job-context-details p:last-child {
    margin-bottom: 0;
}

.job-context-details i {
    margin-right: 0.5rem;
    opacity: 0.8;
}

.analysis-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.breakdown-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #667eea;
}

.breakdown-section h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breakdown-section h3 i {
    color: #667eea;
}

.breakdown-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.breakdown-summary {
    color: #666;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.missing-skills,
.missing-credentials {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ef4444;
}

.missing-skills strong,
.missing-credentials strong {
    color: #ef4444;
    display: block;
    margin-bottom: 0.5rem;
}

.missing-skills ul,
.missing-credentials ul {
    margin: 0;
    padding-left: 1.5rem;
}

.missing-skills li,
.missing-credentials li {
    color: #666;
    margin-bottom: 0.25rem;
}

.soft-skills-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.skill-item span:first-child {
    color: #666;
    font-weight: 500;
}

.skill-item span:last-child {
    color: #667eea;
    font-weight: 600;
}

.skill-item.bonus {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.skill-item.bonus span:last-child {
    color: #10b981;
}

.analysis-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Responsive Design for Analysis Modal */
@media (max-width: 768px) {
    .analysis-modal {
        max-width: 95vw;
        margin: 1rem;
    }
    
    .analysis-modal-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .soft-skills-breakdown {
        grid-template-columns: 1fr;
    }
    
    .analysis-actions {
        flex-direction: column;
    }
} 

/* History Page Styles */
.history-header {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.history-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.history-list {
    display: grid;
    gap: 20px;
}

.history-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

.history-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.history-item-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.history-item-score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-score-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.history-score-badge.exceptional {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.history-score-badge.qualified {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.history-score-badge.medium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.history-score-badge.unqualified {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.history-item-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.history-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-detail-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.history-detail-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.history-item-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.history-item-actions .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* Enhanced Resume Management */
.resumes-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-controls label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.score-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.custom-filter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.score-slider {
    width: 120px;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.score-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.score-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#scoreValue, #historyScoreValue {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

.date-filter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-filter label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.date-filter select {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.date-filter select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Enhanced Resume Items */
.resume-item {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 16px;
}

.resume-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.resume-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.resume-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.resume-item-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.resume-item-score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.resume-score-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.resume-score-badge.exceptional {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.resume-score-badge.qualified {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.resume-score-badge.medium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.resume-score-badge.unqualified {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.resume-item-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.resume-item-actions .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resumes-controls,
    .history-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-controls {
        justify-content: center;
    }
    
    .score-filter {
        justify-content: center;
    }
    
    .history-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .history-item-details {
        grid-template-columns: 1fr;
    }
    
    .resume-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
} 

/* Job Postings Management Styles */
.job-postings {
    padding: 2rem 0;
}

.job-postings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2;
}

.job-postings-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.job-postings-info p {
    color: #666;
    line-height: 1.6;
}

.job-postings-list {
    margin-bottom: 2rem;
}

.job-postings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5em;
    margin-top: 2rem;
}

.job-posting-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e1e5e9;
    position: relative;
    overflow: hidden;
}

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

.job-posting-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.job-posting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-posting-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.job-posting-status {
    padding: 0.75rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.job-posting-status.active {
    background: #d4edda;
    color: #155724;
}

.job-posting-status.closed {
    background: #f8d7da;
    color: #721c24;
}

.job-posting-status.hired {
    background: #d1ecf1;
    color: #0c5460;
}

.job-posting-company {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.job-posting-location {
    color: #888;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.job-posting-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.job-posting-stat {
    text-align: center;
}

.job-posting-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.job-posting-stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-posting-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.job-posting-actions .btn {
    flex: 1;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Job Posting Creation Modal */
.large-modal {
    max-width: 800px;
    width: 90%;
}

.creation-step {
    display: none;
}

.creation-step.active {
    display: block;
}

.input-method-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.method-card {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.method-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.1);
}

.method-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.method-card h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.method-card p {
    color: #666;
    line-height: 1.5;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.form-group.full-width {
    grid-column: 1;
}

.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
}

.step-actions h5 {
    margin-bottom: 1rem;
    color: #333;
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e1e5e9;
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: #333;
}

.review-value {
    color: #666;
}

.candidate-management {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e1e5e9;
}

.candidate-management h4 {
    margin-bottom: 1rem;
    color: #333;
}

.candidates-list {
    display: grid;
    gap: 1rem;
}

.candidate-item {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.candidate-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.candidate-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.candidate-details h5 {
    margin-bottom: 0.25rem;
    color: #333;
}

.candidate-details p {
    color: #666;
    font-size: 0.85rem;
}

.candidate-score {
    padding: 0.75rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.candidate-score.exceptional {
    background: #d4edda;
    color: #155724;
}

.candidate-score.qualified {
    background: #d1ecf1;
    color: #0c5460;
}

.candidate-score.medium {
    background: #fff3cd;
    color: #856404;
}

.candidate-score.unqualified {
    background: #f8d7da;
    color: #721c24;
}

.candidate-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.candidate-actions .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* Hiring Feedback Modal */
.feedback-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e1e5e9;
}

.rating-stars {
    display: flex;
    gap: 0.5em;
    margin-top: 0.5rem;
}

.rating-stars i {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating-stars i:hover,
.rating-stars i.active {
    color: #ffd700;
}

.hired-candidate-selection {
    margin: 1rem 0;
}

.candidate-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.candidate-option:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.candidate-option.selected {
    border-color: #667eea;
    background: #e3f2fd;
}

.candidate-option input[type="radio"] {
    margin: 0;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-postings-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .job-postings-grid {
        grid-template-columns: 1fr;
    }
    
    .input-method-selection {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .job-posting-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .candidate-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1em;
    }
    
    .candidate-actions {
        justify-content: center;
    }
} 

/* Demo Modal Styles */
.demo-modal {
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
}

.demo-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.demo-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Account Type Selection */
.account-type-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.account-type-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.account-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.account-type-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.account-type-card:hover::before {
    transform: scaleX(1);
}

.account-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.account-type-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.account-type-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.account-type-card ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

.account-type-card li {
    padding: 0.25rem 0;
    color: #555;
    font-size: 0.85rem;
    position: relative;
    padding-left: 1.5rem;
}

.account-type-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-item i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Analysis Breakdown */
.analysis-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.analysis-category {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.analysis-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.category-header i {
    font-size: 1.5rem;
    color: #667eea;
    margin-right: 0.75rem;
}

.category-header h4 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.analysis-category p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Results Preview */
.results-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.result-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.result-card.exceptional {
    border-left-color: #10b981;
}

.result-card.qualified {
    border-left-color: #3b82f6;
}

.result-card.medium {
    border-left-color: #f59e0b;
}

.result-card.unqualified {
    border-left-color: #ef4444;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.result-header h4 {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.result-header .score {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: white;
}

.result-card.exceptional .score {
    background: #10b981;
}

.result-card.qualified .score {
    background: #3b82f6;
}

.result-card.medium .score {
    background: #f59e0b;
}

.result-card.unqualified .score {
    background: #ef4444;
}

.result-card p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-item i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.benefit-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Demo Navigation */
.demo-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .demo-modal {
        max-width: 95vw;
        margin: 2rem auto;
    }
    
    .account-type-selection {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .analysis-breakdown {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .results-preview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .demo-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .demo-navigation .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .demo-header h2 {
        font-size: 1.5rem;
    }
    
    .demo-header p {
        font-size: 1rem;
    }
    
    .account-type-card {
        padding: 1rem;
    }
    
    .account-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-item,
    .analysis-category,
    .result-card,
    .benefit-item {
        padding: 1rem;
    }
} 

/* Candidate Actions */
.candidate-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.candidate-actions .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* Candidate Status Classes */
.result-item.candidate-interested {
    border-left: 4px solid #10b981;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05), transparent);
}

.result-item.candidate-declined {
    border-left: 4px solid #ef4444;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.05), transparent);
    opacity: 0.7;
}

.result-item.candidate-review {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.05), transparent);
}

/* Filtering Options */
.filtering-options {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

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

.filter-option label {
    font-weight: 500;
    color: #333;
    margin: 0;
}

.filtering-details {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
}

.filter-setting {
    margin-bottom: 1.5rem;
}

.filter-setting label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.score-threshold-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.score-threshold-control .score-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.score-threshold-control .score-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.score-threshold-control .score-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#thresholdValue {
    font-weight: bold;
    color: #667eea;
    min-width: 40px;
    text-align: center;
}

.filter-setting select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 0.9rem;
}

.filter-setting select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.filter-setting small {
    color: #666;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.25rem;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
}

.notification-info {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.notification-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notification-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.notification-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.notification button:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Info Tooltips */
.tooltip-trigger {
    color: #667eea;
    cursor: help;
    margin-left: 0.25rem;
    transition: color 0.2s;
}

.tooltip-trigger:hover {
    color: #5a67d8;
}

.tooltip {
    position: absolute;
    background: #333;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    max-width: 250px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
    .candidate-actions {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .candidate-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .filtering-options {
        padding: 0.75rem;
    }
    
    .score-threshold-control {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
} 

/* Review Badge */
.review-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-weight: 500;
}

.review-badge i {
    font-size: 0.6rem;
}

/* Needs Review Styling */
.result-item.needs-review {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.05), transparent);
}

.result-item.needs-review .result-title {
    color: #d97706;
}

/* Filtered Results Info */
.filtered-results-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filtered-results-info .filter-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filter-stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.filter-stat-label {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.filtered-results-info .filter-actions {
    display: flex;
    gap: 0.5rem;
}

/* Responsive design for filtered results */
@media (max-width: 768px) {
    .filtered-results-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filtered-results-info .filter-stats {
        justify-content: space-around;
        gap: 1rem;
    }
    
    .filtered-results-info .filter-actions {
        justify-content: center;
    }
} 

/* Bug Report Widget */
.bug-widget-button { position: fixed; right: 20px; bottom: 20px; z-index: 1000; border: none; background: #111827; color: #fff; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2), 0 4px 6px -2px rgba(0,0,0,0.1); cursor: pointer; }
.bug-widget-button:hover { background: #1f2937; }
.bug-widget-panel { position: fixed; right: 20px; bottom: 80px; width: 320px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; z-index: 1000; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05); overflow: hidden; }
.bug-widget-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: #f9fafb; border-bottom: 1px solid #e5e7eb; font-weight: 600; }
.bug-widget-close { background: transparent; border: none; color: #6b7280; cursor: pointer; }
.bug-widget-body { padding: 12px; }
.bug-widget-body textarea { width: 100%; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px; font-family: inherit; }
.bug-widget-footer { padding: 8px 12px; border-top: 1px solid #e5e7eb; background: #f9fafb; text-align: right; color: #6b7280; font-size: 12px; }

/* Notice banner for company mode */
.notice-banner { margin: 12px 0; padding: 10px 12px; background: #eef2ff; color: #3730a3; border: 1px solid #c7d2fe; border-radius: 8px; display: none; }

/* Admin Dashboard Styles */
.admin-only {
    display: none;
}

.admin-only.show {
    display: inline-flex;
}

.admin-only.visible {
    display: inline-flex !important;
}

/* Fix admin tab alignment */
.nav-menu .admin-only.visible {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.nav-menu .admin-only.visible:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.nav-menu .admin-only.visible i {
    color: #667eea;
    font-size: 0.9rem;
}

.admin-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-header h2 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.admin-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Admin Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Admin Sections */
.admin-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-section h3 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-section h3 i {
    color: #667eea;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* Activity List */
.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item i {
    color: #667eea;
    width: 20px;
}

/* Admin Filters */
.admin-filters {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Admin Table */
.admin-table-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th {
    background: #f8f9fa;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: #f8f9fa;
}

.text-center {
    text-align: center;
}

/* Finance Dashboard */
.finance-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.finance-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.finance-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.finance-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.finance-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.finance-stat:last-child {
    border-bottom: none;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

.stat-value {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

/* Analytics Dashboard */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.analytics-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.chart-container {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-placeholder {
    text-align: center;
    color: #666;
}

.chart-placeholder i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.metric-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.metric-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

/* Subscription Chart */
.subscription-chart {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Admin Dashboard */
@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-filters {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .quick-actions .btn {
        min-width: auto;
    }
    
    .finance-overview {
        grid-template-columns: 1fr;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-body {
    padding: 1.5rem;
}

.analytics-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* User Analytics Content */
.user-analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.analytics-stat {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.analytics-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.analytics-stat-label {
    color: #666;
    font-size: 0.9rem;
}

.roi-positive {
    color: #10b981;
}

.roi-negative {
    color: #ef4444;
}

.roi-neutral {
    color: #6b7280;
}

/* Event Breakdown */
.event-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.event-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.event-item strong {
    color: #333;
    font-weight: 600;
    min-width: 120px;
}

.event-item span {
    color: #666;
    font-size: 0.9rem;
    margin-left: 1rem;
}

/* User Details */
.user-details p {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.user-details p:last-child {
    border-bottom: none;
}

.user-details strong {
    color: #333;
    font-weight: 600;
    min-width: 120px;
    display: inline-block;
}

/* Admin Badge */
.admin-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-weight: 500;
}

.admin-badge i {
    font-size: 0.6rem;
}

/* User Table Styling */
.user-cell {
    display: flex;
    flex-direction: column;
}

.user-cell strong {
    color: #333;
    font-weight: 600;
}

.user-cell small {
    color: #666;
    font-size: 0.8rem;
}

.user-type-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.user-type-badge.individual {
    background: #dbeafe;
    color: #1e40af;
}

.user-type-badge.company {
    background: #fef3c7;
    color: #92400e;
}

.user-type-badge.recruiter {
    background: #e0e7ff;
    color: #3730a3;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.blocked {
    background: #fee2e2;
    color: #991b1b;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}