/* =========================================================
   Global Prime Time — Upgraded Tool Styles
   ========================================================= */

.gpt-wrapper {
    --gpt-glass: rgba(255, 255, 255, 0.05);
    --gpt-border: rgba(255, 255, 255, 0.08);
    --gpt-text: #eef0f6;
    --gpt-muted: #94a3b8;
    --gpt-primary: #3b82f6;
    --gpt-success: #10b981;
    --gpt-danger: #ef4444;
    --gpt-blue-dark: #0f172a;

    background: #080b12;
    border: 1px solid var(--gpt-border);
    border-radius: 20px;
    padding: 30px;
    max-width: 900px;
    margin: 40px auto;
    color: var(--gpt-text);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.gpt-header-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.gpt-clocks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
}

.gpt-clock-card {
    background: var(--gpt-glass);
    border: 1px solid var(--gpt-border);
    border-radius: 12px;
    padding: 12px 18px;
    text-align: center;
    min-width: 140px;
}

.gpt-clock-city {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gpt-muted);
}

.gpt-clock-time {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 4px 0;
}

.gpt-clock-date {
    font-size: 0.7rem;
    color: var(--gpt-muted);
}

.gpt-settings-panel {
    background: var(--gpt-glass);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--gpt-border);
}

.gpt-settings-panel h4 {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: var(--gpt-muted);
}

.gpt-settings-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.gpt-setting-group label {
    display: block;
    font-size: 0.65rem;
    color: var(--gpt-muted);
    margin-bottom: 4px;
}

.gpt-time-input {
    background: #000;
    border: 1px solid var(--gpt-border);
    color: #fff;
    padding: 5px;
    border-radius: 4px;
}

.gpt-recommender-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gpt-success);
    font-weight: 600;
}

.gpt-city-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.gpt-city-row label {
    width: 100px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Custom Select2 Overrides */
.select2-container--default .select2-selection--single {
    background: #000 !important;
    border: 1px solid var(--gpt-border) !important;
    color: #fff !important;
    height: 40px !important;
    padding: 5px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
}

/* Timebar */
.gpt-timebar-labels {
    display: flex;
    margin-left: 100px;
    margin-bottom: 8px;
}

.gpt-timebar-label {
    flex: 1;
    text-align: center;
    font-size: 0.7rem;
    color: var(--gpt-muted);
}

.gpt-timebars-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gpt-timebar-row {
    display: flex;
    align-items: center;
}

.gpt-timebar-name {
    width: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: right;
    padding-right: 12px;
}

.gpt-timebar {
    flex: 1;
    display: flex;
    height: 35px;
    border-radius: 6px;
    overflow: hidden;
}

.gpt-hour-block {
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    position: relative;
}

.gpt-bg-green {
    background: var(--gpt-success);
}

.gpt-bg-blue {
    background: var(--gpt-blue-dark);
}

.gpt-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.8rem;
}

.gpt-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gpt-color-box {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.gpt-green {
    background: var(--gpt-success);
}

.gpt-blue {
    background: var(--gpt-blue-dark);
}

.gpt-btn {
    background: var(--gpt-primary);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.gpt-btn-add {
    background: transparent;
    border: 1px dashed var(--gpt-primary);
    color: var(--gpt-primary);
    margin-left: 115px;
}

@media (max-width: 768px) {
    .gpt-header-section {
        flex-direction: column;
    }

    .gpt-timebar-name {
        width: 60px;
        font-size: 0.6rem;
    }

    .gpt-timebar-labels {
        margin-left: 60px;
    }

    .gpt-btn-add {
        margin-left: 0;
    }
}