/* ================================
   SuperStaff Timezone Widget
   widget.css
   Version 1.0.1
   ================================ */

/* --- Wrapper --- */
.sstw-wrapper {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 48px 40px;
    max-width: 860px;
    margin: 0 auto;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 4px 24px rgba(13, 35, 89, 0.08);
}

/* --- Main Sentence --- */
.sstw-sentence {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #1A1A2E;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

/* --- Highlighted Times --- */
.sstw-highlight {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1B4FD8;
    letter-spacing: -0.5px;
}

/* --- Manila Highlight --- */
.sstw-manila-highlight {
    color: #00C2CB;
}

/* --- Inline Select --- */
.sstw-inline-select {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1B4FD8;
    background: transparent;
    width: auto;
    border: none;
    border-bottom: 2.5px solid #1B4FD8;
    border-radius: 0;
    padding: 0 4px 2px 4px;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B4FD8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 20px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.sstw-inline-select:hover,
.sstw-inline-select:focus {
    border-color: #00C2CB;
    color: #00C2CB;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300C2CB' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* --- Divider --- */
.sstw-divider {
    width: 100%;
    height: 1.5px;
    background: linear-gradient(
        to right,
        transparent,
        #D6E4FF,
        #00C2CB,
        #D6E4FF,
        transparent
    );
    margin: 32px 0;
}

/* --- Bottom Row --- */
.sstw-bottom-row {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* --- Message --- */
.sstw-message {
    flex: 1;
}

.sstw-message p {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6B7280;
    line-height: 1.7;
    margin: 0;
}

.sstw-message p strong {
    color: #1B4FD8;
    font-weight: 600;
}

/* --- Team Image --- */
.sstw-image-wrap {
    flex-shrink: 0;
    width: 280px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(13, 35, 89, 0.12);
}

.sstw-team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.4s ease;
}

/* --- Mobile: Tablet --- */
@media (max-width: 768px) {
    .sstw-wrapper {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .sstw-sentence {
        font-size: 22px;
        gap: 4px;
    }

    .sstw-highlight {
        font-size: 26px;
    }

    .sstw-inline-select {
        font-size: 22px;
    }

    .sstw-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .sstw-image-wrap {
        width: 100%;
        height: 200px;
    }
}

/* --- Mobile: Small --- */
@media (max-width: 375px) {
    .sstw-wrapper {
        padding: 24px 16px;
    }

    .sstw-sentence {
        font-size: 18px;
    }

    .sstw-highlight {
        font-size: 22px;
    }

    .sstw-inline-select {
        font-size: 18px;
    }

    .sstw-image-wrap {
        height: 160px;
    }
}