body {
    font-family: 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, #1a2a4a, #0d1a33 60%, #091225);
    color: #f4f7fc;
    margin: 0;
    padding: 24px;
    min-height: 100vh;
    overflow-x: hidden;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.s1 { width: 400px; height: 400px; background: #0866ff; top: 10%; left: -10%; animation-delay: 0s; }
.s2 { width: 300px; height: 300px; background: #ff8500; top: 40%; right: -5%; animation-delay: 5s; }
.s3 { width: 250px; height: 250px; background: #18b34b; bottom: 10%; left: 30%; animation-delay: 10s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.9); }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f4f7fc;
    padding: 22px 28px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: headerFadeIn 0.8s ease;
}

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

.header img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.header h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0;
}

.cards {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 26px;
    border-radius: 20px;
    width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    color: #f4f7fc;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: cardFadeIn 0.8s ease;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.card h2 {
    font-size: 46px;
    margin: 0;
    color: #ffffff;
    font-weight: 800;
}

.card p {
    margin-top: 8px;
    font-size: 15px;
    color: #d1d7e6;
    font-weight: 600;
}

/* Icons for cards using pseudo-elements */
.card.total::before,
.card.today::before {
    content: '';
    position: absolute;
    top: -24px;
    right: -24px;
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.06);
    transform: rotate(45deg);
    border-radius: 16px;
}

.card.total::after,
.card.today::after {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 44px;
    opacity: 0.25;
}

.card.total::after {
    /* Bar chart icon */
    content: "\1F4CA";
}

.card.today::after {
    /* Calendar icon */
    content: "\1F4C5";
}

.card.job-new,
.card.job-old {
    border-left: 5px solid;
}

.card.job-new {
    border-left-color: #10b981;
}

.card.job-old {
    border-left-color: #9ca3af;
}

.card.job-new::after,
.card.job-old::after {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 44px;
    opacity: 0.25;
}

.card.job-new::after {
    /* Sparkles icon */
    content: "\2728";
}

.card.job-old::after {
    /* Folder icon */
    content: "\1F4C1";
}

.search-section {
    margin-top: 30px;
    display: none; /* Hide search bar per new requirement */
}

input {
    width: 320px;
    max-width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #f4f7fc;
    outline: none;
    transition: all 0.3s ease;
}

input::placeholder {
    color: #b3bed6;
}

input:focus {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(8, 102, 255, 0.4);
}

table {
    width: 100%;
    margin-top: 24px;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 16px;
    font-size: 12px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #e8ecf8;
    font-size: 14px;
}

tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

tbody tr {
    animation: rowFadeIn 0.4s ease;
}

@keyframes rowFadeIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Custom row colours for different interview statuses */
tr.today-row {
    /* Blue tint for today's interviews */
    background: rgba(59, 130, 246, 0.25);
}
tr.tomorrow-row {
    /* Orange tint for tomorrow's interviews */
    background: rgba(249, 115, 22, 0.25);
}
tr.future-row {
    /* Purple tint for upcoming interviews */
    background: rgba(139, 92, 246, 0.25);
}
tr.conflict-row {
    /* Red tint for time conflicts */
    background: rgba(239, 68, 68, 0.35);
}
tr.booked-row {
    /* Red tint for booked slots */
    background: rgba(239, 68, 68, 0.4);
}
tr.today-available-row {
    /* Green tint for today's available slots */
    background: rgba(34, 197, 94, 0.3);
}
tr.future-available-row {
    /* Blue tint for future available slots */
    background: rgba(59, 130, 246, 0.3);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.tab-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d1d7e6;
    padding: 12px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
}
.tab-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}
.tab-btn.active {
    background: linear-gradient(135deg, #0866ff, #00a3ff);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(8, 102, 255, 0.35);
}

/* Prevent time strings from wrapping to the next line */
th, td {
    white-space: nowrap;
}

/* Home button styling */
.home-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0866ff, #00a3ff);
    color: #ffffff;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Interview Scheduling button */
.schedule-btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ff8500, #0866ff);
    color: #ffffff;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 133, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 133, 0, 0.35);
}

.loading-row, .error-row, .empty-row {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #d1d7e6;
}

.error-row {
    color: #ff9aa8;
    background: rgba(230, 55, 87, 0.15);
}

.empty-row {
    background: rgba(255, 255, 255, 0.05);
}