/* --- Styles for the Cart Page --- */

/* Wrapper for the main button */
.scr-save-cart-wrapper {
    margin-top: 20px;
    text-align: right;
}

/* Base styles for all modals */
.scr-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: scr-fade-in 0.3s ease;
}

.scr-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 25px 35px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    position: relative;
    text-align: center;
}

.scr-modal-content h2 {
    margin-top: 0;
}

.scr-close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.scr-close-button:hover,
.scr-close-button:focus {
    color: black;
    text-decoration: none;
}

.scr-option {
    margin: 25px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.scr-option label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.scr-option input[type="date"] {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.scr-quick-dates {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

.scr-quick-dates .button {
    flex: 1;
}

.scr-separator {
    font-weight: bold;
    color: #999;
}

.scr-status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    font-weight: 500;
}

@keyframes scr-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* --- Date Picker Styles --- */

.scr-date-picker-wrapper {
    max-width: 250px;
    margin: 0 auto 15px auto;
}

.scr-date-picker-wrapper input[type="datetime-local"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
}
/* === Floating Action Button Styles === */
.scr-fab-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 15px;
}