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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    min-height: 100vh;
    display: flex;
    color: #fff;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar h2 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 15px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s;
}

.sidebar li:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar.collapsed li span {
    display: none;
}

.sidebar-toggle {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
    color: #fff;
}

/* Main content */
.main {
    flex: 1;
    padding: 30px;
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.job-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.job-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.job-card p {
    font-size: 14px;
    margin-bottom: 6px;
    color: #e0e0e0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination button {
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.pagination button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.pagination button.active {
    background: #6ea8fe;
    color: #0b1020;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Modal box */
.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 16px;
    width: 420px;
    max-width: 90%;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Cross close button */
.close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #ff5c5c;
}

#applyBtn {
    display: block;
    margin: 20px auto 0;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background: #007bff;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

#applyBtn:hover {
    background: #0056b3;
}

/* Responsive */
@media(max-width:768px) {
    .sidebar {
        width: 70px;
    }

    .sidebar.collapsed {
        width: 50px;
    }
}