#record-panel{

    background:white;

    border-radius:12px;

    padding:20px;

    box-shadow:0 2px 8px rgba(0,0,0,.08);

}

#record-panel label{

    display:block;

    margin-top:18px;

}

#record-panel input{

    width:100%;

    margin-top:6px;

    padding:8px;

    box-sizing:border-box;

}

#saveButton{

    margin-top:24px;

    width:100%;

    padding:10px;

}

.input-error {

    border: 2px solid #d32f2f;

    background: #fff5f5;

}

button:disabled {

    opacity: 0.5;

    cursor: not-allowed;

}

.record-error {

    min-height: 20px;

    margin: 10px 0;

    color: #d32f2f;

    font-size: 0.9rem;

}

.sleep-duration {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin: 16px 0;

    padding: 10px;

    border: 1px solid #ddd;

    border-radius: 6px;

}

.date-selector {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

}

.date-selector button {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    border: none;

    cursor: pointer;

}

#selectedDateLabel {

    font-size: 20px;

    font-weight: bold;

}

.sleep-quality {
    display: flex;
    gap: 50px;
}

.sleep-quality label {
    display: flex;
    align-items: center;
    gap: 0px;
    margin: 0;
    width: auto;
    white-space: nowrap;
}

.sleep-quality input[type="radio"] {
    width: auto;
    margin: 0;
}

.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}