﻿/* PAGE LAYOUT */
.page-layout {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 20px;
}

/* SIDEBARS */
.sidebar-left, .sidebar-right {
    width: 200px;
    background: #eefefe;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #0d8f8f33;
    height: fit-content;
}

    .sidebar-left h4,
    .sidebar-right h4 {
        color: #0d8f8f;
        font-weight: 700;
        margin-bottom: 10px;
    }

/* CENTRAL CONTENT */
.sleep-wrapper {
    width: 550px;
    padding-top: 20px;
    text-align: center;
}

.title {
    font-size: 32px;
    font-weight: 700;
    color: #064b4b;
}

.subtitle {
    font-size: 16px;
    color: #0d8f8f;
    margin-bottom: 25px;
}

/* CALCULATOR BOX */
.calculator-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border: 2px solid #0d8f8f55;
}

/* PICKERS */
.picker-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #064b4b;
    font-weight: 600;
}

.scroll-list {
    list-style: none;
    height: 140px;
    width: 90px;
    padding: 0;
    margin: 0;
    overflow-y: scroll;
    scroll-behavior: smooth;
    border: 2px solid #0d8f8f;
    border-radius: 12px;
    background: #eefefe;
}

    .scroll-list li {
        padding: 10px 0;
        font-size: 22px;
        color: #064b4b;
        font-weight: 600;
        cursor: pointer;
    }

        .scroll-list li.active {
            background: #0d8f8f;
            color: white;
            border-radius: 8px;
        }

/* AM/PM BUTTONS */
.ampm-toggle {
    display: flex;
    gap: 10px;
}

.ampm-btn {
    padding: 10px 22px;
    border: 2px solid #0d8f8f;
    border-radius: 10px;
    background: white;
    color: #064b4b;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

    .ampm-btn.active {
        background: #0d8f8f;
        color: white;
    }

/* BUTTON */
.calculate-btn {
    background: #0d8f8f;
    padding: 12px 25px;
    color: white;
    border: none;
    font-size: 18px;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
}

    .calculate-btn:hover {
        background: #0b7d7d;
    }

/* RESULT BOX */
.result-box {
    background: #eefefe;
    border-left: 5px solid #0d8f8f;
    margin-top: 22px;
    padding: 18px;
    border-radius: 12px;
    text-align: left;
}
/* RESULT TITLE */
.result-title {
    text-align: center;
    color: #0d8f8f;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* RESULT DESCRIPTION */
.result-desc {
    text-align: center;
    color: #064b4b;
    font-size: 16px;
    margin-bottom: 20px;
}

/* BOX GRID */
.result-times {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* TIME BOX */
.time-box {
    padding: 12px 18px;
    font-size: 18px;
    background: #eefefe;
    border-radius: 12px;
    color: #064b4b;
    font-weight: 700;
    position: relative;
    min-width: 120px;
    text-align: center;
    border: 2px solid #0d8f8f;
}

    /* SUGGESTED HIGHLIGHT */
    .time-box.suggested {
        background: #0d8f8f;
        color: white;
    }

    .time-box .tag {
        display: block;
        font-size: 11px;
        margin-top: 4px;
        color: #ffe8a3;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
