/* Custom styles for PM Jobs Board */

:root {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    margin-top: -1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2.5rem;
}

/* Features Section */
.features-section {
    background: var(--bs-gray-900);
}

.feature-card {
    background: var(--bs-gray-800);
    border-radius: 15px;
    border: 1px solid var(--bs-gray-700);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    color: var(--bs-primary);
    font-size: 2.5rem;
}

/* Pricing Section */
.pricing-section {
    background: var(--gradient-secondary);
    color: white;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--bs-dark);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: none;
}

.price-display {
    font-size: 3rem;
    font-weight: bold;
    color: var(--bs-primary);
}

.price-display .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price-display .period {
    font-size: 1rem;
    color: var(--bs-gray-600);
    display: block;
    margin-top: -0.5rem;
}

.feature-list {
    max-width: 300px;
    margin: 0 auto;
}

.feature-list li {
    padding: 0.5rem 0;
}

/* Subscription Page */
.subscription-card {
    background: var(--bs-gray-800);
    border: 2px solid var(--bs-primary);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.subscription-card .card-header {
    background: var(--bs-primary);
    border-radius: 18px 18px 0 0 !important;
    border-bottom: none;
}

.feature-highlight {
    background: var(--bs-gray-800);
    border-radius: 15px;
    border: 1px solid var(--bs-gray-700);
    transition: transform 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-3px);
    border-color: var(--bs-primary);
}

.benefits-section {
    background: var(--bs-gray-900);
}

.benefit-icon {
    margin-bottom: 1rem;
}

/* Jobs Page */
.paywall-overlay {
    position: relative;
    z-index: 10;
}

.paywall-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bs-gray-800);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--bs-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 11;
}

.blurred-content {
    filter: blur(3px);
    pointer-events: none;
    user-select: none;
}

/* Admin Page */
.admin-section {
    background: var(--bs-gray-900);
}

/* Table Enhancements */
.table-hover tbody tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

/* Button Enhancements */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Badge Enhancements */
.badge {
    font-size: 0.75em;
    padding: 0.5em 0.75em;
}

/* Modal Enhancements */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid var(--bs-gray-700);
    border-radius: 15px 15px 0 0;
}

/* Card Enhancements */
.card {
    border-radius: 15px;
    border: 1px solid var(--bs-gray-700);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-bottom: 1px solid var(--bs-gray-700);
    border-radius: 15px 15px 0 0 !important;
}

/* Form Enhancements */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .price-display {
        font-size: 2.5rem;
    }
    
    .paywall-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    /* Make stat cards smaller on mobile */
    .stat-card {
        margin-bottom: 1rem;
        padding: 1.5rem 1rem !important;
    }
    
    .stat-card i {
        font-size: 2rem !important;
    }
    
    .stat-card h3 {
        font-size: 1.5rem !important;
    }
    
    .stat-card p {
        font-size: 0.9rem !important;
    }
    
    /* Mobile login button visibility */
    .mobile-login-btn {
        display: block !important;
        margin-left: 10px;
    }
    
    .desktop-login {
        display: none !important;
    }
}

/* Hide mobile login button on desktop */
@media (min-width: 769px) {
    .mobile-login-btn {
        display: none !important;
    }
    
    .desktop-login {
        display: block !important;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error States */
.error-page {
    padding: 3rem 0;
}

/* Success States */
.success-message {
    background: var(--gradient-success);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bs-gray-800);
}

::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary);
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.bg-gradient-success {
    background: var(--gradient-success);
}

/* Filter Additions */
.app-filters {
    background: var(--bs-gray-800);
    border-radius: 15px;
    border: 1px solid var(--bs-gray-700);
}

/* Job Card Enhancements */
.job-card {
    background: var(--bs-gray-800);
    border: 1px solid var(--bs-gray-700);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Navigation Enhancements */
.navbar {
    background: var(--bs-gray-900) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Footer Enhancements */
footer {
    background: var(--bs-gray-900);
    color: var(--bs-gray-400);
}
