/* Page Title Styling (Astra Theme) */
.entry-title {
    color: #1c2f5d !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 700 !important;
    text-align: center;
    margin-bottom: 40px !important;
    font-size: 36px !important;
}

.protour-booking-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: transparent;
    padding: 0 0 40px 0;
    font-family: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333333;
}

/* Hide WordPress injected <br> tags */
.protour-form br {
    display: none !important;
}

.protour-section-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    border: 1px solid #dddddd;
}

.protour-form h3 {
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dddddd;
    color: #2e4da7;
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}



.protour-form .form-group {
    margin-bottom: 20px;
}

.protour-flex-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

.protour-racket-action-buttons {
    display: flex; 
    gap: 10px; 
    margin-top: 5px;
}

.protour-form .protour-flex-row>.form-group {
    min-width: 0;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Fix for WordPress wpautop injecting empty p tags inside grids */
.protour-form .protour-flex-row>p,
.protour-form .racket-item>p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 600px) {

    .protour-flex-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .protour-form .protour-flex-row>.form-group {
        min-width: 0;
    }
    
    .protour-racket-action-buttons {
        flex-direction: column !important;
    }
}

.protour-form label {
    display: block;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333;
    font-size: 14px;
}



.protour-form input[type="text"],
.protour-form input[type="email"],
.protour-form input[type="password"],
.protour-form input[type="date"],
.protour-form input[type="time"],
.protour-form input[type="number"],
.protour-form select,
.protour-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dddddd;
    border-radius: 0px;
    box-sizing: border-box;
    font-size: 15px;
    margin-bottom: 0 !important;
    background-color: #ffffff;
    color: #333333;
    transition: all 0.2s ease;
    box-shadow: none;
    outline: none;
}

.protour-form input:focus,
.protour-form select:focus,
.protour-form textarea:focus {
    border-color: #2e4da7;
    box-shadow: 0 0 0 1px #2e4da7;
}

.protour-form textarea {
    min-height: 100px;
    resize: vertical;
}

.protour-form input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
    accent-color: #1c2f5d;
}

.protour-form .button {
    background: #1c2f5d;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    cursor: pointer;
    border-radius: 25px;
    /* Pill shape from theme */
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

.protour-form .button:hover {
    background: #2e4da7;
}

.protour-form #submit-booking-btn {
    background: #239e57;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 30px;
}

.protour-form #submit-booking-btn:hover {
    background: #1c2f5d;
    /* Blue theme color */
}

.protour-form .racket-item {
    background: #fdfdfd;
    padding: 24px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #dddddd;
    position: relative;
}

.protour-form .racket-item h4 {
    margin-top: 0;
    margin-bottom: 24px;
    color: #2e4da7;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #239e57;
}

@keyframes protourPopupFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.protour-accordion-header {
    transition: background-color 0.2s ease;
}

.protour-accordion-header.active {
    background-color: #ebf7f0 !important;
}

@media (max-width: 600px) {
    .protour-booking-wrapper .protour-section-card {
        padding: 15px !important;
    }
    .protour-booking-wrapper .protour-accordion-header {
        padding: 12px 15px !important;
    }
    .protour-booking-wrapper .protour-accordion-content {
        padding: 15px !important;
    }
    .protour-form .racket-item {
        padding: 15px !important;
    }
    .protour-booking-wrapper .protour-status-badge .protour-status-text {
        display: none !important;
    }
    .protour-booking-wrapper .protour-status-badge {
        padding: 4px 6px !important;
        gap: 0 !important;
    }
    .protour-booking-wrapper .protour-status-badge-mobile {
        display: inline-flex !important;
    }
}