/* Professional Channelplay Jobs Website Styles */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f8fafc;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Professional Navigation */
.top-nav {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

/* Navigation layout with right-aligned tabs */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
}

.logo {
    flex-shrink: 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.logo i {
    color: #2563eb;
    font-size: 1.5rem;
}

.logo:hover {
    color: #2563eb;
}

.nav-links a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
    position: relative;
    height: 48px;
    justify-content: center;
}

.nav-links a:hover {
    color: #2563eb;
    background: #f8fafc;
}

.nav-links a.active {
    color: #2563eb;
    background: #eff6ff;
    font-weight: 600;
}


.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 48px;
    justify-content: flex-end;
}

/* Combined right section with tabs and tools */
.nav-right-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 48px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    height: 48px;
}

.notification-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}

.profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.profile-icon:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.4);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: background 0.2s;
    position: relative;
    height: 48px;
    min-width: 60px;
    justify-content: center;
    box-sizing: border-box;
}

.language-selector:hover {
    background: #f3f4f6;
}

.notification-icon {
    position: relative;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin: 0;
    box-sizing: border-box;
}

.notification-icon:hover {
    background: #f3f4f6;
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    color: #666;
}

.profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 1.5rem auto;
    padding: 0 2rem;
    min-height: 60vh;
}

/* Professional section styling */
.content-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #f3f4f6;
}

/* Left Sidebar */
.left-sidebar {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #f3f4f6;
    height: fit-content;
    position: sticky;
    top: 6rem;
}

.sidebar-section {
    margin-bottom: 1rem;
}

.sidebar-section h3 {
    margin-bottom: 0.75rem;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #2563eb;
    border-radius: 2px;
}

/* Job Filters */
.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
}

.filter-input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    background: #ffffff;
    transition: all 0.2s ease;
    color: #374151;
    height: 40px;
}

.filter-input:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.filter-chip {
    background: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip:hover,
.filter-chip.active {
    background: #2563eb;
    color: white;
}

/* Job Listings */
.job-listings {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #f3f4f6;
}

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

.job-listings-header h2 {
    color: #1f2937;
    font-size: 1.5rem;
}

.sort-dropdown {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: white;
}

.job-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.job-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #e5e7eb;
}

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

.job-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.job-company {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.job-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.job-actions {
    display: flex;
    gap: 0.75rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-outline {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.btn-outline:hover {
    background: #64748b;
    color: white;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

/* Right Sidebar */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 6rem;
    height: fit-content;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sidebar-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Refer & Earn Card */
.refer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.form-input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.refer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.375rem;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    color: #2563eb;
}

.stat-desc {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Statistics Bar */
.stats-bar {
    background: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: #f8fafc;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

.social-links a:hover {
    background: #2563eb;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .job-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Blue Theme Notification Dropdown */

.notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 50;
    display: none;
    overflow: hidden;
}

.notification-dropdown.show {
    display: block;
}

.notification-header {
    padding: 1.25rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #2563eb 100%);
    border-bottom: 1px solid #2563eb;
    color: white;
}

.notification-header h3 {
    margin-bottom: 0.75rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-header h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: white;
    border-radius: 2px;
}

.notification-tabs {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.notification-tabs .tab-btn {
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}

.notification-tabs .tab-btn.active {
    background: white !important;
    color: #2563eb !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.notification-tabs .tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.notification-tabs .tab-btn:focus {
    outline: 2px solid white;
    outline-offset: -2px;
}

.notification-content {
    max-height: 350px;
    overflow-y: auto;
    padding: 0;
    background: #ffffff;
}

.notification-content::-webkit-scrollbar {
    width: 4px;
}

.notification-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}

.notification-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.notification-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.notification-list {
    display: none;
}

.notification-list.active {
    display: block;
}

.notification-item {
    padding: 0.875rem;
    display: flex;
    gap: 0.75rem;
    margin: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid transparent;
    align-items: center;
    position: relative;
}

.notification-item:hover {
    background: #f9fafb;
    border-color: #e5e7eb;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notification-item.unread {
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: #2563eb;
    border-radius: 0 2px 2px 0;
}

.notification-item {
    position: relative;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.notification-icon.status {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

.notification-icon.new-job {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.notification-details h4 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: #111827;
    font-weight: 600;
    line-height: 1.4;
}

.notification-details p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.notification-time {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 400;
}

.notification-arrow {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-left: auto;
    transition: all 0.2s ease;
}

.notification-item:hover .notification-arrow {
    color: #2563eb;
    transform: translateX(2px);
}

.notification-icon.status .fa-check-circle {
    color: #16a34a;
}

.notification-icon.status .fa-eye {
    color: #2563eb;
}

.notification-icon.status .fa-clock {
    color: #f59e0b;
}

.notification-icon.new-job .fa-star {
    color: #f59e0b;
}

.notification-icon.new-job .fa-mobile-alt {
    color: #8b5cf6;
}

.skill-tag {
    display: inline-block;
    background: #e0e7ff;
    color: #2563eb;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
}

.notification-footer {
    padding: 1rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.view-all-notifications {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-all-notifications:hover {
    background: #eff6ff;
    color: #1d4ed8;
    transform: translateY(-1px);
}

/* Application Page Tabs */
.application-tabs {
    display: flex;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.application-tabs .tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.application-tabs .tab-btn.active {
    background: white;
    color: #1e293b;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.application-tabs .tab-btn:hover:not(.active) {
    background: white;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.application-tabs .tab-btn span {
    background: #e2e8f0;
    color: #64748b;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.application-tabs .tab-btn.active span {
    background: #dbeafe;
    color: #2563eb;
}

/* Blue Theme Language Dropdown */
.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.75rem;
    background: white;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
    z-index: 50;
    display: none;
    min-width: 180px;
    overflow: hidden;
}

.language-dropdown.show {
    display: block;
}

.language-option {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    transform: translateX(2px);
}

.language-option.active {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
    border-color: #e0e7ff;
}

.language-flag {
    font-size: 1.25rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.language-info {
    flex: 1;
}

.language-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
    margin-bottom: 0.125rem;
}

.language-option.active .language-name {
    color: #2563eb;
}

.language-code {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.language-option.active .language-code {
    color: #3b82f6;
}

.language-check {
    color: #2563eb;
    font-size: 1rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.language-option.active .language-check {
    opacity: 1;
    transform: scale(1);
}

/* Dropdown Suggestion Styles */
.suggestion-item:hover {
    background: #f3f4f6;
}

.suggestion-item:active {
    background: #e5e7eb;
}