@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #0b0e14;
    --bg-secondary: #131924;
    --bg-card: #172030;
    --text-primary: #ffffff;
    --text-secondary: #90a0b7;
    --accent-blue: #00d2ff;
    --accent-orange: #ff7300;
    --accent-green: #39d353;
    --border-color: #222e45;
    --border-hover-blue: rgba(0, 210, 255, 0.4);
    --border-hover-orange: rgba(255, 115, 0, 0.4);
    --font-main: 'Outfit', sans-serif;
    --glow-blue: 0 0 15px rgba(0, 210, 255, 0.15);
    --glow-orange: 0 0 15px rgba(255, 115, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navbar */
header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo span {
    color: var(--accent-orange);
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--bg-primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-blue);
}

.nav-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-badge {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Main Layout */
main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 5%;
}

/* Search Bar Section */
.search-section {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.search-box input {
    width: 100%;
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    font-size: 1.1rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.search-icon {
    position: absolute;
    left: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.search-btn {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent-orange), #ff4500);
    border: none;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 15px rgba(255, 115, 0, 0.4);
}

/* Welcome Section & Statistics */
.welcome-box {
    margin-bottom: 2rem;
}

.welcome-box h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.welcome-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.stat-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.blue {
    background-color: rgba(0, 210, 255, 0.1);
    color: var(--accent-blue);
}

.stat-icon.orange {
    background-color: rgba(255, 115, 0, 0.1);
    color: var(--accent-orange);
}

.stat-icon.green {
    background-color: rgba(57, 211, 83, 0.1);
    color: var(--accent-green);
}

.stat-info h3 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-info .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2px;
}

/* Category Grid & Cards Layout */
.main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    height: 480px;
    position: relative;
    transition: all 0.3s ease;
}

.category-card.blue-glow {
    border-color: rgba(0, 210, 255, 0.2);
}

.category-card.blue-glow:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--glow-blue);
}

.category-card.orange-glow {
    border-color: rgba(255, 115, 0, 0.2);
}

.category-card.orange-glow:hover {
    border-color: var(--accent-orange);
    box-shadow: var(--glow-orange);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.card-icon.blue {
    background-color: rgba(0, 210, 255, 0.15);
    color: var(--accent-blue);
}

.card-icon.orange {
    background-color: rgba(255, 115, 0, 0.15);
    color: var(--accent-orange);
}

.card-title h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-title p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.card-list {
    list-style: none;
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 5px;
}

/* Custom Scrollbar for Card List */
.card-list::-webkit-scrollbar {
    width: 4px;
}

.card-list::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 4px;
}

.card-list li {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding-left 0.3s ease;
}

.card-list li:hover {
    padding-left: 8px;
}

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

.list-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 70%;
}

.list-title {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    text-decoration: none;
}

.list-title:hover {
    color: var(--accent-blue);
}

.list-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.status-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.active {
    background-color: rgba(57, 211, 83, 0.15);
    color: var(--accent-green);
}

.status-badge.pending {
    background-color: rgba(255, 115, 0, 0.15);
    color: var(--accent-orange);
}

.status-badge.new {
    background-color: rgba(0, 210, 255, 0.15);
    color: var(--accent-blue);
}

.card-footer-link {
    margin-top: 1.5rem;
    text-align: right;
}

.card-footer-link a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.card-footer-link a:hover {
    gap: 10px;
}

/* State Filter & Deadlines Section */
.secondary-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.state-filter-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.8rem;
}

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

.section-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
}

.state-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.state-chip {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.state-chip:hover, .state-chip.active {
    background-color: var(--accent-blue);
    color: var(--bg-primary);
    border-color: var(--accent-blue);
    font-weight: 600;
}

.filtered-results {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    min-height: 200px;
}

.filtered-job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.filtered-job-title {
    font-weight: 500;
    color: var(--text-primary);
}

.filtered-job-state {
    font-size: 0.8rem;
    background-color: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--accent-orange);
}

.deadlines-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
}

.deadline-list {
    list-style: none;
}

.deadline-item {
    display: flex;
    gap: 12px;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.deadline-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 115, 0, 0.1);
    color: var(--accent-orange);
    border-radius: 8px;
    width: 60px;
    height: 60px;
    font-weight: 700;
    line-height: 1.2;
}

.deadline-date span {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 500;
}

.deadline-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.deadline-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.deadline-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Footer Section */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 5% 1.5rem;
    margin-top: 4rem;
}

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

.footer-brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand h2 span {
    color: var(--accent-orange);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 320px;
    margin-bottom: 1.5rem;
}

.footer-links h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    max-width: 1400px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: #5d6d84;
    text-align: center;
    margin-top: 1.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px dashed var(--border-color);
    padding-top: 1rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: -350px;
    background-color: var(--bg-card);
    border: 2px solid var(--accent-orange);
    box-shadow: var(--glow-orange);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    right: 20px;
}

.toast-icon {
    font-size: 1.3rem;
    color: var(--accent-orange);
}

.toast-message {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .secondary-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Bookmark Buttons Style */
.list-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bookmark-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.05rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bookmark-btn:hover {
    color: var(--accent-orange);
    transform: scale(1.15);
    background-color: rgba(255, 115, 0, 0.08);
}

.bookmark-btn.active {
    color: var(--accent-orange);
    filter: drop-shadow(0 0 5px rgba(255, 115, 0, 0.4));
}

