/**
 * GPS Courses - Elementor Widgets Styles
 */

/* Calendar Widget */
.gps-event-calendar-widget {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.gps-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.gps-calendar-prev,
.gps-calendar-next {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
}

.gps-calendar-prev:hover,
.gps-calendar-next:hover {
    background: #135e96;
}

.gps-calendar-title {
    font-size: 20px;
    font-weight: 600;
    color: #1d2327;
}

.gps-calendar-view-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.gps-view-btn {
    padding: 8px 16px;
    background: #f0f0f1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.gps-view-btn:hover {
    background: #e0e0e0;
}

.gps-view-btn.active {
    background: #2271b1;
    color: #fff;
}

/* Month View */
.gps-calendar-month {
    width: 100%;
    border-collapse: collapse;
}

.gps-calendar-month th {
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    color: #646970;
    background: #f6f7f7;
    border: 1px solid #e0e0e0;
}

.gps-calendar-day {
    height: 120px;
    padding: 10px;
    vertical-align: top;
    border: 1px solid #e0e0e0;
    background: #fff;
    transition: background 0.2s;
}

.gps-calendar-day:hover {
    background: #f9f9f9;
}

.gps-calendar-day.today {
    background: #f0f6fc;
    border-color: #2271b1;
}

.gps-calendar-day.other-month {
    background: #fafafa;
    color: #c0c0c0;
}

.gps-day-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: 600;
    border-radius: 50%;
}

.gps-calendar-day.today .gps-day-number {
    background: #2271b1;
    color: #fff;
}

.gps-day-events {
    margin-top: 10px;
}

.gps-calendar-event {
    padding: 4px 8px;
    margin-bottom: 4px;
    background: #e5f5fa;
    border-left: 3px solid #2271b1;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.gps-calendar-event:hover {
    background: #d0ebf5;
}

.gps-event-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #2271b1;
    border-radius: 50%;
    margin-right: 5px;
}

.gps-event-title {
    font-weight: 600;
}

.gps-more-events {
    padding: 4px 8px;
    font-size: 11px;
    color: #646970;
    font-weight: 600;
}

/* Week View */
.gps-calendar-week {
    display: flex;
    flex-direction: column;
}

.gps-week-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.gps-week-day {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.gps-week-day.today {
    border-color: #2271b1;
    border-width: 2px;
}

.gps-week-day-header {
    background: #f6f7f7;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.gps-day-name {
    font-size: 12px;
    color: #646970;
    text-transform: uppercase;
    font-weight: 600;
}

.gps-week-day-header .gps-day-number {
    display: block;
    margin-top: 5px;
    font-size: 20px;
    font-weight: 700;
}

.gps-week-day-events {
    padding: 10px;
    min-height: 100px;
}

.gps-week-day-events .gps-calendar-event {
    margin-bottom: 8px;
}

.gps-event-time {
    font-size: 11px;
    color: #646970;
    margin-bottom: 2px;
}

/* List View */
.gps-calendar-list {
    background: #fff;
}

.gps-list-day {
    margin-bottom: 30px;
}

.gps-list-date {
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    padding-bottom: 10px;
    border-bottom: 2px solid #2271b1;
    margin-bottom: 15px;
}

.gps-list-event {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f6f7f7;
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.gps-list-event:hover {
    background: #e0e0e0;
}

.gps-list-event-time {
    font-size: 14px;
    font-weight: 600;
    color: #2271b1;
    min-width: 80px;
}

.gps-list-event-details {
    flex: 1;
}

.gps-list-event-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 5px;
}

.gps-list-event-venue {
    font-size: 13px;
    color: #646970;
}

.gps-view-event-btn {
    padding: 8px 16px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}

.gps-view-event-btn:hover {
    background: #135e96;
}

.gps-no-events {
    padding: 40px;
    text-align: center;
    color: #646970;
}

/* Ticket Selector Widget */
.gps-ticket-selector-widget,
.gps-ticket-selector {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.gps-ticket-messages {
    margin-bottom: 20px;
}

.gps-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.gps-message-success {
    background: #ecf7ed;
    color: #2c662d;
    border-left: 4px solid #46b450;
}

.gps-message-error {
    background: #fce8e8;
    color: #d63638;
    border-left: 4px solid #d63638;
}

/* Grid Layout */
.gps-tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gps-ticket-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* List Layout */
.gps-tickets-list .gps-ticket-item {
    margin-bottom: 15px;
    max-width: 100%;
}

.gps-ticket-layout-list .gps-ticket-item {
    margin-bottom: 15px;
}

/* Table Layout */
.gps-tickets-table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}

.gps-tickets-table th,
.gps-tickets-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.gps-tickets-table th {
    background: #f6f7f7;
    font-weight: 600;
}

.gps-ticket-layout-table {
    overflow-x: auto;
}

.gps-ticket-layout-table table {
    width: 100%;
    border-collapse: collapse;
}

.gps-ticket-layout-table th,
.gps-ticket-layout-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.gps-ticket-layout-table th {
    background: #f6f7f7;
    font-weight: 600;
}

/* Ticket Item */
.gps-ticket-item {
    background: #f6f7f7;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.gps-ticket-item:hover {
    border-color: #2271b1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.15);
}

.gps-ticket-item.selected {
    background: #f0f6fc;
    border-color: #2271b1;
}

.gps-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.gps-ticket-title {
    font-size: 20px;
    font-weight: 600;
    color: #1d2327;
    margin: 0;
    flex: 1;
}

.gps-ticket-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #2271b1;
    color: #fff;
    white-space: nowrap;
}

.gps-ticket-badge.early_bird {
    background: #46b450;
}

.gps-ticket-badge.general {
    background: #2271b1;
}

.gps-ticket-badge.vip {
    background: #d63638;
}

.gps-ticket-name {
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 5px;
}

.gps-ticket-price {
    font-size: 28px;
    font-weight: 700;
    color: #2271b1;
    margin: 15px 0;
    line-height: 1;
}

.gps-ticket-description {
    color: #646970;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.gps-ticket-features {
    margin: 15px 0;
}

.gps-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #1d2327;
    font-size: 14px;
}

.gps-feature-icon {
    flex-shrink: 0;
    color: #46b450;
    font-size: 14px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gps-feature-icon i {
    line-height: 1;
}

.gps-feature-icon svg {
    width: 14px;
    height: 14px;
}

.gps-feature-text {
    flex: 1;
    line-height: 1.5;
}

.gps-ticket-availability {
    font-size: 13px;
    color: #646970;
    margin-top: auto;
    padding-top: 10px;
    font-style: italic;
}

.gps-ticket-dates {
    font-size: 12px;
    color: #646970;
    font-style: italic;
}

.gps-ticket-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Quantity Selector */
.gps-quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gps-quantity-selector label {
    font-size: 14px;
    font-weight: 600;
    color: #646970;
    margin: 0;
}

.gps-ticket-quantity,
.gps-qty-input {
    width: 70px;
    text-align: center;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: border-color 0.2s;
}

.gps-ticket-quantity:focus,
.gps-qty-input:focus {
    outline: none;
    border-color: #2271b1;
}

.gps-qty-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.gps-qty-minus,
.gps-qty-plus {
    width: 32px;
    height: 32px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.gps-qty-minus:hover,
.gps-qty-plus:hover {
    background: #135e96;
}

/* Ticket Summary */
.gps-ticket-summary {
    background: #f6f7f7;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.gps-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.gps-summary-row.total {
    font-size: 20px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
    margin-top: 15px;
}

.gps-add-to-cart-btn {
    flex: 1;
    padding: 12px 24px;
    background: #46b450;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.gps-add-to-cart-btn:hover {
    background: #2c662d;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(70, 180, 80, 0.3);
}

.gps-add-to-cart-btn:active {
    transform: translateY(0);
}

.gps-add-to-cart-btn:disabled {
    background: #c0c0c0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Google Maps Widget */
.gps-google-maps-widget {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
}

.gps-google-maps-widget iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* CE Credits Display Widget */
.gps-ce-credits-widget {
    background: linear-gradient(135deg, #2271b1, #135e96);
    color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: left;
}

.gps-ce-credits-box {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.gps-credits-icon {
    flex-shrink: 0;
}

.gps-credits-content {
    flex: 1;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.gps-ce-credits-widget .gps-credits-label,
.gps-credits-label {
    font-size: 20px;
    display: inline-block;
    opacity: 0.9;
    margin: 0;
}

.gps-ce-credits-widget .gps-credits-number,
.gps-credits-number {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    display: inline-block;
    margin: 0;
}

.gps-credits-progress {
    margin-top: 30px;
}

.gps-progress-bar-container {
    height: 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 10px;
}

.gps-progress-bar-fill {
    height: 100%;
    background: #46b450;
    transition: width 0.5s ease;
}

.gps-progress-text {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

/* ============================================
   Countdown Timer Widget
   ============================================ */

.gps-countdown-wrapper {
    width: 100%;
}

.gps-countdown {
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 10px;
}

/* Block Layout (Vertical) */
.gps-countdown-block .gps-countdown {
    grid-auto-flow: column;
}

/* Inline Layout (Horizontal) */
.gps-countdown-inline .gps-countdown {
    grid-auto-flow: column;
}

/* Countdown Item */
.gps-countdown-item {
    display: inline-grid;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: center;
    text-align: center;
    transition: all 0.3s;
}

.gps-countdown-item:hover {
    transform: translateY(-3px);
}

/* Filled Style */
.gps-countdown-style-filled .gps-countdown-item {
    background: #2c4266;
}

/* Outlined Style */
.gps-countdown-style-outlined .gps-countdown-item {
    background: transparent;
    border: 2px solid #2c4266;
}

/* Minimal Style */
.gps-countdown-style-minimal .gps-countdown-item {
    background: transparent;
}

/* Label Above */
.label-above .gps-countdown-item {
    grid-template-rows: auto auto;
}

.label-above .gps-countdown-item .gps-countdown-label {
    order: -1;
}

/* Countdown Value (Number) */
.gps-countdown-value {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: #d4af37;
    display: block;
}

/* Countdown Label */
.gps-countdown-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    display: block;
}

/* Separator */
.gps-countdown-separator {
    font-size: 36px;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
    padding: 0 5px;
    display: flex;
    align-items: center;
}

/* Expired Message */
.gps-countdown-expired {
    font-size: 24px;
    font-weight: 600;
    color: #d63638;
    text-align: center;
    padding: 30px;
}

/* Slider Navigation */
.swiper-button-prev,
.swiper-button-next {
    color: #2271b1;
}

.swiper-pagination-bullet-active {
    background: #2271b1;
}

/* Responsive Adjustments */
@media screen and (max-width: 1024px) {
    .gps-week-header {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .gps-event-calendar-widget,
    .gps-ticket-selector-widget,
    .gps-ticket-selector {
        padding: 20px;
    }

    .gps-calendar-month th,
    .gps-calendar-day {
        padding: 5px;
        font-size: 12px;
    }

    .gps-calendar-day {
        height: 80px;
    }

    .gps-week-header {
        grid-template-columns: 1fr;
    }

    .gps-list-event {
        flex-direction: column;
        align-items: flex-start;
    }

    .gps-list-event-time {
        min-width: auto;
    }

    .gps-ticket-layout-grid,
    .gps-tickets-grid {
        grid-template-columns: 1fr;
    }

    .gps-ticket-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gps-ticket-badge {
        align-self: flex-start;
    }

    .gps-ticket-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .gps-quantity-selector {
        justify-content: center;
    }

    .gps-add-to-cart-btn {
        width: 100%;
    }

    .gps-countdown {
        gap: 5px;
        justify-content: center;
        width: 100%;
    }

    .gps-countdown-item {
        min-width: 50px;
        padding: 10px;
        flex: 0 1 auto;
    }

    /* Hide seconds on mobile (when option is enabled) */
    .gps-hide-seconds-mobile .gps-countdown-seconds {
        display: none !important;
    }

    /* Hide the separator between minutes and seconds when seconds are hidden */
    .gps-hide-seconds-mobile .gps-countdown .gps-countdown-separator:last-of-type {
        display: none !important;
    }

    .gps-countdown-value {
        font-size: 32px;
    }

    .gps-countdown-label {
        font-size: 12px;
    }

    .gps-countdown-separator {
        font-size: 28px;
        padding: 0 2px;
    }

    .gps-tickets-table {
        font-size: 14px;
    }

    .gps-tickets-table th,
    .gps-tickets-table td {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .gps-calendar-header {
        flex-wrap: wrap;
    }

    .gps-calendar-title {
        order: -1;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .gps-ce-credits-widget .gps-credits-number {
        font-size: 48px;
    }

    .gps-ticket-title {
        font-size: 18px;
    }

    .gps-ticket-price {
        font-size: 24px;
    }

    .gps-ticket-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .gps-feature-item {
        font-size: 13px;
    }

    .gps-add-to-cart-btn {
        padding: 12px;
        font-size: 15px;
    }

    .gps-ticket-item {
        padding: 15px;
    }

    .gps-countdown {
        gap: 5px;
        grid-auto-flow: column;
        justify-items: center;
    }

    .gps-countdown-item {
        min-width: 50px;
        padding: 10px;
    }

    .gps-countdown-value {
        font-size: 26px;
    }

    .gps-countdown-label {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .gps-countdown-separator {
        font-size: 22px;
        padding: 0 2px;
    }
}

@media screen and (max-width: 360px) {
    .gps-countdown {
        gap: 5px;
    }

    .gps-countdown-item {
        min-width: 50px;
        padding: 10px;
    }

    .gps-countdown-value {
        font-size: 22px;
    }

    .gps-countdown-label {
        font-size: 10px;
    }

    .gps-countdown-separator {
        font-size: 18px;
        padding: 0 2px;
    }
}

/* ============================================
   Schedule Display Widget
   ============================================ */

.gps-schedule-display {
    background: #ffffff;
    padding: 35px;
}

/* Schedule Day/Section */
.schedule-day {
    margin-bottom: 50px;
}

.schedule-day:last-child {
    margin-bottom: 0;
}

.schedule-day-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    background: linear-gradient(to right, #6eb8ed 0%, transparent 100%);
    background-position: 0 100%;
    background-size: 100% 3px;
    background-repeat: no-repeat;
}

.schedule-day-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c4266;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.schedule-day-date {
    font-size: 16px;
    color: #6eb8ed;
    font-weight: 600;
}

/* Schedule Topics */
.schedule-topics {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.schedule-topic {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    align-items: flex-start;
}

.schedule-topic:hover {
    background: #f9fcff;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.12);
    transform: translateY(-2px);
}

/* Time Display - 30% width on desktop, one row */
.schedule-time {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    background: #2271b1;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 2px 8px rgba(44, 66, 102, 0.15);
    transition: all 0.3s ease;
    width: 30%;
    flex-shrink: 0;
    min-height: auto;
}

.schedule-topic:hover .schedule-time {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 66, 102, 0.25);
}

.time-start,
.time-end {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.time-separator {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 400;
}

/* Topic Content - 70% width on desktop */
.schedule-topic-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 70%;
    flex: 1;
}

.schedule-topic-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c4266;
    margin: 0 0 12px 0;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.schedule-speakers,
.schedule-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #646970;
    font-weight: 500;
}

.schedule-speakers .dashicons,
.schedule-location .dashicons {
    color: #6eb8ed;
    font-size: 18px;
    flex-shrink: 0;
}

.schedule-description {
    font-size: 14px;
    color: #646970;
    line-height: 1.6;
    margin-top: 5px;
}

.schedule-description p {
    margin: 0 0 10px 0;
}

.schedule-description p:last-child {
    margin-bottom: 0;
}

/* Timeline Layout */
.gps-schedule-timeline .schedule-topic {
    position: relative;
}

.gps-schedule-timeline .schedule-topic::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 40px;
    width: 10px;
    height: 10px;
    background: #2271b1;
    border-radius: 50%;
}

/* Tabs Layout */
.schedule-tabs {
    display: flex;
    flex-direction: column;
}

.schedule-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding-bottom: 0;
}

.gps-schedule-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px 25px;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    border-radius: 8px 8px 0 0;
    outline: none;
}

.gps-schedule-tab::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: currentColor;
    transition: width 0.3s ease;
}

/* Hover and active states controlled by Elementor widget settings */

.gps-schedule-tab.active::after {
    width: 80%;
    background: currentColor;
}

.gps-schedule-tab .tab-title,
.tab-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.gps-schedule-tab .tab-date,
.tab-date {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

.gps-schedule-tab-content {
    display: none;
}

.gps-schedule-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accordion Layout */
.schedule-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-accordion-item {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.schedule-accordion-item.active {
    border-color: #6eb8ed;
    box-shadow: 0 4px 12px rgba(110, 184, 237, 0.15);
}

.schedule-accordion-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.schedule-accordion-header:hover {
    background: #f9fcff;
}

.schedule-accordion-item.active .schedule-accordion-header {
    background: linear-gradient(135deg, #6eb8ed 0%, #5aa5d9 100%);
    color: #fff;
}

.accordion-title {
    flex: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2c4266;
    letter-spacing: -0.3px;
}

.schedule-accordion-item.active .accordion-title {
    color: #fff;
}

.accordion-date {
    font-size: 14px;
    font-weight: 600;
    color: #6eb8ed;
}

.schedule-accordion-item.active .accordion-date {
    color: rgba(255, 255, 255, 0.95);
}

.accordion-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    color: #646970;
}

.schedule-accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: #fff;
}

.schedule-accordion-content {
    display: none;
    padding: 25px;
    background: #fafbfc;
}

/* List Layout */
.gps-schedule-list .schedule-topic {
    border-left-width: 3px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .gps-schedule-display {
        padding: 20px;
    }

    /* Stack time and content vertically on mobile */
    .schedule-topic {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .schedule-time {
        width: 100%;
        padding: 15px;
        font-size: 14px;
        flex-direction: row;
        min-height: auto;
        border-radius: 8px;
    }

    .schedule-topic-content {
        width: 100%;
    }

    .time-start,
    .time-end {
        font-size: 14px;
    }

    .time-separator {
        font-size: 14px;
    }

    .schedule-day-title {
        font-size: 22px;
    }

    .schedule-topic-title {
        font-size: 18px;
    }

    .schedule-tabs-nav {
        flex-direction: column;
    }

    .gps-schedule-tab {
        width: 100%;
        border-left: 3px solid transparent;
        border-bottom: none;
    }

    .gps-schedule-tab.active {
        border-left-color: #2271b1;
        border-bottom-color: transparent;
    }
}

@media screen and (max-width: 480px) {
    .schedule-accordion-header {
        padding: 15px;
        flex-wrap: wrap;
    }

    .accordion-title {
        font-size: 16px;
        width: 100%;
    }

    .accordion-date {
        font-size: 13px;
    }

    .schedule-topic {
        padding: 15px;
    }

    .schedule-topic-title {
        font-size: 16px;
    }
}

/* ============================================
   Course Objectives Widget
   ============================================ */

.gps-objectives-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
}

.gps-objectives-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c4266;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.gps-objectives-title-underline {
    width: 150px;
    height: 4px;
    background: #6eb8ed;
    border-radius: 2px;
    margin-bottom: 30px;
}

.gps-objectives-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gps-objective-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
}

.gps-objective-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #6eb8ed;
    font-size: 24px;
}

.gps-objective-icon i {
    line-height: 1;
}

.gps-objective-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.gps-objective-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #646970;
    font-weight: 400;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .gps-objectives-container {
        padding: 30px 20px;
    }

    .gps-objectives-title {
        font-size: 26px;
    }

    .gps-objectives-list {
        gap: 15px;
    }

    .gps-objective-item {
        gap: 12px;
    }

    .gps-objective-icon {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

    .gps-objective-icon svg {
        width: 20px;
        height: 20px;
    }

    .gps-objective-text {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .gps-objectives-container {
        padding: 25px 15px;
    }

    .gps-objectives-title {
        font-size: 22px;
    }

    .gps-objectives-title-underline {
        width: 100px;
        height: 3px;
        margin-bottom: 20px;
    }

    .gps-objective-text {
        font-size: 14px;
    }
}

/* ============================================
   FAQ Display Widget
   ============================================ */

.gps-faq-container {
    padding: 0;
}

.gps-faq-widget-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c4266;
    margin-bottom: 10px;
    line-height: 1.2;
}

.gps-faq-title-underline {
    width: 80px;
    height: 3px;
    background-color: #6eb8ed;
    margin-bottom: 30px;
}

.gps-faq-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gps-faq-item {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gps-faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gps-faq-layout-accordion .gps-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
    background: #f9f9f9;
    transition: all 0.2s ease;
    user-select: none;
}

.gps-faq-layout-accordion .gps-faq-question:hover {
    background: #f0f0f1;
}

.gps-faq-question-text {
    flex: 1;
    padding-right: 15px;
}

.gps-faq-toggle-icon {
    flex-shrink: 0;
    color: #6200ea;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.gps-faq-answer {
    padding: 20px 25px;
    color: #646970;
    font-size: 16px;
    line-height: 1.7;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

.gps-faq-layout-list .gps-faq-question {
    padding: 20px 25px 10px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #1d2327;
}

.gps-faq-layout-list .gps-faq-answer {
    padding: 0 25px 20px 25px;
    border-top: none;
}

/* Course Description Widget */
.gps-description-container {
    padding: 0;
}

.gps-description-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c4266;
    margin-bottom: 10px;
    line-height: 1.2;
}

.gps-description-title-underline {
    width: 80px;
    height: 3px;
    background-color: #6eb8ed;
    margin-bottom: 20px;
}

.gps-description-text {
    font-size: 16px;
    line-height: 1.7;
    color: #646970;
}

.gps-description-text p {
    margin-bottom: 15px;
}

.gps-description-text p:last-child {
    margin-bottom: 0;
}

/* Event Dates Display Widget */
.gps-event-dates-box {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.gps-dates-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gps-dates-icon i {
    color: #2271b1;
    font-size: 24px;
}

.gps-dates-icon svg {
    fill: #2271b1;
    width: 24px;
    height: 24px;
}

.gps-dates-content {
    flex: 1;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.gps-dates-label {
    font-size: 14px;
    font-weight: 600;
    color: #646970;
}

.gps-dates-text {
    font-size: 24px;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.3;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .gps-faq-widget-title {
        font-size: 26px;
    }

    .gps-faq-layout-accordion .gps-faq-question,
    .gps-faq-layout-list .gps-faq-question {
        font-size: 16px;
        padding: 15px 20px;
    }

    .gps-faq-answer {
        padding: 15px 20px;
        font-size: 15px;
    }

    .gps-faq-layout-list .gps-faq-answer {
        padding: 0 20px 15px 20px;
    }

    .gps-dates-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .gps-faq-widget-title {
        font-size: 22px;
    }

    .gps-faq-title-underline {
        width: 60px;
        height: 2px;
        margin-bottom: 20px;
    }

    .gps-faq-layout-accordion .gps-faq-question,
    .gps-faq-layout-list .gps-faq-question {
        font-size: 15px;
        padding: 12px 15px;
    }

    .gps-faq-answer {
        padding: 12px 15px;
        font-size: 14px;
    }

    .gps-faq-layout-list .gps-faq-answer {
        padding: 0 15px 12px 15px;
    }

    .gps-dates-text {
        font-size: 18px;
    }

    .gps-dates-label {
        font-size: 12px;
    }
}
