:root {
    --bg-1: #0d1223;
    --bg-2: #080b18;
    --glass: rgba(255, 255, 255, 0.08);
    --card: rgba(255, 255, 255, 0.06);
    --accent-1: #7f5af0;
    --accent-2: #9f7aea;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --positive: #4ade80;
    --neutral: #facc15;
    --negative: #f87171;
    --text-100: #f0f4ff;
    --text-80: #c5d0ff;
    --text-60: #a1a1aa;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --glow: 0 0 30px rgba(127, 90, 240, 0.35);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.jm-glass-container {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top left, var(--bg-1), var(--bg-2));
    color: var(--text-100);
    position: relative;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    max-width: 1600px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: var(--radius-lg);
}

/* Background elements */
.jm-bg-element {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.jm-element-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-1);
    top: -200px;
    left: -200px;
}

.jm-element-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-2);
    bottom: -200px;
    right: -150px;
}

/* SIDEBAR STYLES */
.jm-sidebar {
    background: rgba(15, 21, 42, 0.5);
    backdrop-filter: blur(30px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 1rem;
}

.jm-sidebar-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jm-sidebar h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.jm-sidebar h2 i {
    color: var(--accent-1);
}

.jm-job-count {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-80);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.jm-job-count i {
    color: var(--accent-1);
}

.jm-job-listings {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.jm-job-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.jm-job-card::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

.jm-job-card:hover::before {
    width: 100%;
}

.jm-job-card:hover {
    transform: translateY(-5px);
    border-color: rgba(127, 90, 240, 0.3);
    box-shadow: var(--glow);
}

.jm-job-card.active {
    border-color: var(--accent-1);
    box-shadow: var(--glow);
    background: rgba(127, 90, 240, 0.1);
}

.jm-job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.jm-job-card strong {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
    z-index: 1;
    position: relative;
}

.jm-job-card small {
    font-size: 0.85rem;
    color: var(--text-60);
    z-index: 1;
    position: relative;
}

.jm-match-badge {
    background: var(--accent-gradient);
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.jm-job-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-60);
    margin-top: 1rem;
    z-index: 1;
    position: relative;
}

.jm-job-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
    z-index: 1;
    position: relative;
    flex-wrap: wrap;
}

.jm-tag {
    background: rgba(127, 90, 240, 0.15);
    color: var(--accent-2);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}

.jm-sentiment-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
}

.jm-positive-badge {
    background: rgba(74, 222, 128, 0.15);
    color: var(--positive);
}

.jm-neutral-badge {
    background: rgba(250, 204, 21, 0.15);
    color: var(--neutral);
}

/* MAIN CONTENT STYLES */
.jm-main {
    background: rgba(15, 21, 42, 0.5);
    backdrop-filter: blur(30px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    height: fit-content;
}

.jm-job-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.jm-company {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.jm-company-logo {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(127, 90, 240, 0.3);
}

.jm-company-info {
    display: flex;
    flex-direction: column;
}

.jm-company-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-100);
}

.jm-company-location {
    font-size: 0.95rem;
    color: var(--text-60);
}

.jm-ai-badge {
    background: linear-gradient(90deg, rgba(127, 90, 240, 0.15), rgba(159, 122, 234, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 2rem;
}

.jm-detail-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-60);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.jm-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jm-salary {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-100);
}

.jm-sentiment {
    background: var(--positive);
    color: #0f172a;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.jm-section-title-main {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--accent-1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jm-section-title-main i {
    font-size: 0.9rem;
}

.jm-job-description ul {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
    list-style: none;
}

.jm-job-description li {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.6;
}

.jm-job-description li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gradient);
}

.jm-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.jm-btn, .jm-bookmark {
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    transition: var(--transition);
}

.jm-btn {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.jm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(127, 90, 240, 0.5);
}

.jm-bookmark {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-100);
}

.jm-bookmark:hover {
    background: rgba(255, 255, 255, 0.05);
}

.jm-bookmark.active {
    background: rgba(127, 90, 240, 0.15);
    border-color: var(--accent-1);
    color: var(--accent-2);
}

.jm-detail-meta i {
    color: var(--accent-1);
}

/* Scrollbar styling */
.jm-glass-container ::-webkit-scrollbar {
    width: 8px;
}

.jm-glass-container ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .jm-glass-container {
        grid-template-columns: 1fr;
    }
    
    .jm-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .jm-glass-container {
        padding: 1rem;
    }
    
    .jm-detail-meta {
        gap: 1rem;
        padding: 1rem;
    }
    
    .jm-job-title {
        font-size: 2rem;
    }
}

.jm-glass-notice {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-100);
    box-shadow: var(--shadow);
}


