
/* ========================================
   SKYFEEDING - NEW RUNDOWN DESIGN
======================================== */

/* HEADING */

.rundown-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
}

.rundown-heading h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.rundown-heading p,
.schedule-section-heading p {
    color: var(--muted);
    font-size: 13px;
}

.schedule-count {
    background: #26374d;
    color: var(--primary);
    padding: 12px 17px;
    border-radius: 10px;
    font-size: 13px;
    white-space: nowrap;
}

/* ADMIN FORM */

.rundown-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 40px;
}

.admin-form-heading {
    margin-bottom: 20px;
}

.admin-label {
    color: var(--primary);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.rundown-form h2 {
    font-size: 20px;
    margin-top: 8px;
}

.rundown-form label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin: 17px 0 8px;
}

.rundown-form input {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #111c2b;
    color: white;
    font-size: 14px;
    outline: none;
}

.rundown-form input:focus {
    border-color: var(--primary);
}

.rundown-form input::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.form-actions button {
    border: none;
    border-radius: 9px;
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 600;
}

#saveButton {
    background: var(--primary);
    color: #101827;
}

.cancel-button {
    background: #34445b;
    color: white;
}

/* SCHEDULE HEADING */

.schedule-section {
    margin-bottom: 40px;
}

.schedule-section-heading {
    margin-bottom: 22px;
}

.schedule-section-heading h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

/* SCHEDULE CARD */

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    background: linear-gradient(
        120deg,
        #1c293b,
        #202f44
    );

    border: 1px solid var(--border);
    border-radius: 15px;

    padding: 25px 28px;
    margin-bottom: 15px;

    transition: 0.25s ease;
}

.schedule-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* MAIN CONTENT */

.schedule-main {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.schedule-number {
    color: #71849d;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.schedule-content {
    min-width: 0;
}

/* TIME */

.schedule-time {
    color: var(--primary);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin-bottom: 11px;
    white-space: nowrap;
}

/* ACTIVITY */

.schedule-activity {
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 9px;
    overflow-wrap: anywhere;
}

/* LOCATION - ENLARGED */

.schedule-location {
    color: #c2cede;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

/* ADMIN BUTTONS */

.schedule-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.action-button {
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s ease;
}

.action-button:hover {
    transform: translateY(-2px);
}

.edit-button {
    background: #304b6a;
    color: #b9d8ff;
}

.delete-button {
    background: #572f3a;
    color: #ffbdc7;
}

/* EMPTY STATE */

.empty-state {
    padding: 35px;
    text-align: center;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 13px;
    color: var(--muted);
}

/* MOBILE RESPONSIVE */

@media (max-width: 650px) {

    .rundown-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .rundown-form {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .schedule-item {
        align-items: flex-start;
        flex-direction: column;
        padding: 21px;
        gap: 17px;
    }

    .schedule-main {
        gap: 14px;
        width: 100%;
    }

    .schedule-time {
        font-size: 23px;
    }

    .schedule-activity {
        font-size: 16px;
    }

    .schedule-location {
        font-size: 16px;
    }

    .schedule-actions {
        width: 100%;
    }

    .action-button {
        flex: 1;
    }

}

@media (max-width: 360px) {

    .schedule-time {
        font-size: 20px;
    }

}
