/* Main Container */
.sws-container {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100%;
    /* Responsive: Full width on mobile */
    width: 500px;
    /* Fixed larger width on desktop */
    margin: 30px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Softer, premium shadow */
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .sws-container {
        width: 100%;
        margin: 15px auto;
        border-radius: 10px;
        box-shadow: none;
        /* Flatter look on mobile */
        border: 1px solid #eee;
    }
}

/* Header Section */
.sws-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    /* Update to a richer blue/purple gradient */
    color: #fff;
    padding: 25px 20px;
    text-align: center;
}

.sws-header h3 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
    display: none;
}

.sws-date {
    font-size: 1em;
    opacity: 0.9;
    margin-top: 8px;
    font-weight: 400;
}

.sws-location {
    font-size: 1.8em !important;
    margin-top: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* List Items */
.sws-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sws-item {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-bottom: 1px solid #f4f4f4;
    transition: background 0.2s;
    align-items: center;
}

.sws-item:last-child {
    border-bottom: none;
}

.sws-item:hover {
    background: #fdfdfd;
}

.sws-name {
    font-weight: 500;
    font-size: 1.1em;
    color: #444;
}

.sws-time {
    font-weight: 700;
    font-size: 1.2em;
    color: #1e3c72;
    background: #eef4f9;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Error Message */
.sws-error {
    color: #d32f2f;
    padding: 20px;
    text-align: center;
    background: #ffebee;
    border-radius: 8px;
    margin: 20px;
}

/* --- Select2 Custom Styling (Premium Look) --- */

/* The main box */
.select2-container--default .select2-selection--single {
    height: 50px !important;
    border: 1px solid #ddd !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    /* Subtle shadow on input */
    padding-left: 10px;
}

/* Focused box */
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #2a5298 !important;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1) !important;
}

/* Arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    right: 15px !important;
}

/* Text placeholder and value */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* Dropdown list */
.select2-dropdown {
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    margin-top: 8px !important;
}

/* Search input inside dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    padding: 10px !important;
    margin: 5px 0 !important;
}

/* Results */
.select2-results__option {
    padding: 12px 15px !important;
    font-size: 15px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #1e3c72 !important;
    color: white !important;
}