/* ========================================
   Pro Appointments - Frontend Moderno
   ======================================== */

/* Reset e Base */
.pro-appointments-booking-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* {
    box-sizing: border-box;
}

/* Header */
.pa-booking-header {
    text-align: center;
    margin-bottom: 48px;
}

.pa-booking-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.pa-subtitle {
    font-size: 16px;
    color: #cccccc;
    margin: 0;
    font-weight: 400;
}

/* Form Steps */
.pa-form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.pa-form-step.active {
    display: block;
}

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

/* Step Header */
.pa-step-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.pa-step-header-top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pa-step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.pa-step-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.pa-back-btn {
    background: white;
    border: 2px solid #f0f0f0;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}

.pa-back-btn:hover {
    background: #f7f7f9;
    border-color: #667eea;
    color: #667eea;
    transform: translateX(-2px);
}

/* Services Grid */
.pa-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .pa-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Service Card */
.pa-service-card {
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pa-service-card:hover {
    transform: translateY(-4px);
    border-color: #FFD700;
    box-shadow: 0 12px 24px rgba(255, 215, 0, 0.2);
}

.pa-service-card.selected {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.pa-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.pa-service-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.pa-service-description {
    font-size: 14px;
    color: #cccccc;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.pa-has-children-hint {
    font-size: 13px;
    color: #FFD700;
    margin: 8px 0 0 0;
    padding: 8px 12px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
    font-weight: 500;
}

.pa-service-details {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #333333;
}

.pa-duration,
.pa-price {
    font-size: 14px;
    font-weight: 600;
    color: #FFD700;
}

/* Staff Grid */
.pa-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .pa-staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pa-staff-card {
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pa-staff-card::after {
    content: '→';
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 20px;
    color: #FFD700;
    opacity: 0;
    transition: all 0.3s;
}

.pa-staff-card:hover::after {
    opacity: 1;
    transform: translateX(4px);
}

.pa-staff-card:hover {
    transform: translateY(-4px);
    border-color: #FFD700;
    box-shadow: 0 12px 24px rgba(255, 215, 0, 0.2);
}

.pa-staff-card.selected {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.pa-staff-card.selected::after {
    opacity: 1;
}

.pa-staff-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background-size: cover;
    background-position: center;
    border: 3px solid #333333;
}

.pa-staff-photo-default {
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pa-staff-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.pa-staff-bio {
    font-size: 13px;
    color: #cccccc;
    margin: 0;
    line-height: 1.4;
}

/* Date & Time */
.pa-datetime-container {
    display: grid;
    gap: 32px;
}

/* ========================================
   VISUAL DATE PICKER (Estilo Fresha)
   ======================================== */
.pa-visual-date-picker {
    margin-bottom: 24px;
}

.pa-visual-date-picker label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: center;
}

.pa-days-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: thin;
    scrollbar-color: #FFD700 #1a1a1a;
}

.pa-days-selector::-webkit-scrollbar {
    height: 6px;
}

.pa-days-selector::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 3px;
}

.pa-days-selector::-webkit-scrollbar-thumb {
    background: #FFD700;
    border-radius: 3px;
}

.pa-day-circle {
    position: relative;
    min-width: 80px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 12px;
    flex-shrink: 0;
}

.pa-day-circle:hover {
    border-color: #FFD700;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.pa-day-circle.selected {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    border-color: #FFD700 !important;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4) !important;
}

.pa-day-weekday {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #999999;
    transition: color 0.3s;
}

.pa-day-circle.selected .pa-day-weekday {
    color: #ffffff !important;
}

.pa-day-number {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.pa-day-month {
    font-size: 13px;
    color: #cccccc;
    transition: color 0.3s;
}

.pa-day-circle.selected .pa-day-month {
    color: #ffffff !important;
}

/* Indicador de hoje */
.pa-day-circle.today::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
    z-index: 1;
}

.pa-day-circle.selected.today::before {
    background: #ffffff;
}

/* Botão "+" para abrir calendário completo */
.pa-more-dates-btn {
    position: relative;
    min-width: 80px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px dashed #FFD700;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    color: #FFD700;
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
}

.pa-more-dates-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-style: solid;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.pa-more-dates-btn span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* Calendário completo (modal) */
.pa-full-calendar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.pa-full-calendar-modal.active {
    display: flex;
}

.pa-full-calendar-content {
    background: #1a1a1a;
    border: 2px solid #FFD700;
    border-radius: 20px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.pa-full-calendar-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.pa-full-calendar-close:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

.pa-full-calendar-content h3 {
    color: #ffffff;
    margin: 0 0 24px 0;
    font-size: 20px;
}

.pa-full-calendar-content input[type="date"] {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: 2px solid #FFD700;
    border-radius: 12px;
    background: #1a1a1a;
    color: #ffffff;
    color-scheme: dark;
    font-family: inherit;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .pa-days-selector {
        justify-content: flex-start;
        gap: 10px;
        padding: 8px;
    }
    
    .pa-day-circle,
    .pa-more-dates-btn {
        min-width: 70px;
        height: 90px;
        padding: 8px;
    }
    
    .pa-day-weekday {
        font-size: 11px;
    }
    
    .pa-day-number {
        font-size: 28px;
    }
    
    .pa-day-month {
        font-size: 12px;
    }
    
    .pa-more-dates-btn {
        font-size: 40px;
    }
    
    .pa-more-dates-btn span {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .pa-visual-date-picker label {
        font-size: 14px;
    }
    
    .pa-days-selector {
        gap: 8px;
        padding: 8px 4px;
    }
    
    .pa-day-circle,
    .pa-more-dates-btn {
        min-width: 65px;
        height: 85px;
        padding: 6px;
    }
    
    .pa-day-weekday {
        font-size: 10px;
    }
    
    .pa-day-number {
        font-size: 24px;
    }
    
    .pa-day-month {
        font-size: 11px;
    }
    
    .pa-more-dates-btn {
        font-size: 36px;
    }
    
    .pa-more-dates-btn span {
        font-size: 9px;
    }
    
    .pa-full-calendar-content {
        padding: 24px;
        max-width: 95%;
    }
}

/* OLD DATE PICKER (mantido escondido como backup) */
.pa-date-picker label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.pa-date-picker input[type="date"] {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: 2px solid #333333;
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.2s;
    background: #1a1a1a !important;
    color: #ffffff !important;
    color-scheme: dark !important;
}

/* Forçar texto branco no date picker */
.pa-date-picker input[type="date"]::-webkit-datetime-edit {
    color: #ffffff !important;
}

.pa-date-picker input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    color: #ffffff !important;
}

.pa-date-picker input[type="date"]::-webkit-datetime-edit-text {
    color: #ffffff !important;
}

.pa-date-picker input[type="date"]::-webkit-datetime-edit-month-field {
    color: #ffffff !important;
}

.pa-date-picker input[type="date"]::-webkit-datetime-edit-day-field {
    color: #ffffff !important;
}

.pa-date-picker input[type="date"]::-webkit-datetime-edit-year-field {
    color: #ffffff !important;
}

.pa-date-picker input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) !important;
    cursor: pointer;
    opacity: 0.8;
}

.pa-date-picker input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    filter: invert(1) brightness(1.2) !important;
}

.pa-date-picker input[type="date"]:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.pa-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.pa-time-slot {
    padding: 16px;
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
    transition: all 0.2s;
}

.pa-time-slot:hover {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.pa-time-slot.selected {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #ffffff !important;
    border-color: #FFD700 !important;
    font-weight: 700;
}

.pa-time-slot.unavailable {
    opacity: 0.3;
    cursor: not-allowed;
    background: #2a2a2a;
}

.pa-loading {
    text-align: center;
    color: #ffffff;
    padding: 40px 20px;
    font-size: 16px;
    background: #2a2a2a;
    border: 2px solid #333333;
    border-radius: 8px;
    margin: 20px 0;
    line-height: 1.6;
}

.pa-loading::before {
    content: "📅";
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Mensagem de erro/aviso específica */
.pa-time-slots .pa-loading {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-left: 4px solid #FFD700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    grid-column: 1 / -1; /* Ocupa todas as colunas do grid */
}

/* Form Fields */
.pa-form-fields {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}

.pa-form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.pa-form-field input,
.pa-form-field textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #333333;
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.2s;
    background: #1a1a1a;
    color: #ffffff;
}

.pa-form-field input:focus,
.pa-form-field textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

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

/* Booking Summary */
.pa-booking-summary {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    border-radius: 16px;
    padding: 24px;
    margin-top: 32px;
    border: 1px solid #333333;
}

.pa-booking-summary h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.pa-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pa-summary-item:last-child {
    border-bottom: none;
}

.pa-summary-item span {
    font-size: 14px;
    color: #cccccc;
}

.pa-summary-item strong {
    font-size: 15px;
    color: #ffffff;
}

.pa-summary-total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid rgba(255, 215, 0, 0.3) !important;
}

.pa-summary-total span {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.pa-summary-total strong {
    font-size: 20px;
    color: #FFD700;
}

/* Form Actions */
.pa-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #333333;
}

.pa-btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

/* Sobrepor estilos do tema */
.pa-form-actions .pa-btn {
    text-decoration: none !important;
    outline: none !important;
}

.pa-form-actions .pa-btn:focus {
    outline: none !important;
}

.pa-btn-prev {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #FFD700 !important;
}

.pa-btn-prev:hover {
    background: rgba(255, 215, 0, 0.1) !important;
    border-color: #FFD700 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3) !important;
    color: #ffffff !important;
}

.pa-btn-next,
.pa-btn-submit {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3) !important;
    font-weight: 700 !important;
    border: none !important;
}

.pa-btn-next:hover,
.pa-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5) !important;
    color: #ffffff !important;
}

.pa-btn-next:active,
.pa-btn-submit:active {
    transform: translateY(0);
}

/* Messages */
.pa-no-services,
.pa-no-staff {
    text-align: center;
    padding: 60px 20px;
    color: #999999;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 600px) {
    .pro-appointments-booking-form {
        padding: 0 16px;
    }
    
    .pa-booking-header h2 {
        font-size: 26px;
    }
    
    .pa-step-header h3 {
        font-size: 20px;
    }
    
    .pa-form-actions {
        flex-direction: column-reverse;
    }
    
    .pa-btn {
        width: 100%;
    }
    
    .pa-time-slots {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Loading State */
.pa-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.pa-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #333333;
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   FORÇA MÁXIMA - SOBREPOR QUALQUER TEMA
   ======================================== */

/* Botões de navegação - FORÇA MÁXIMA */
.pro-appointments-booking-form .pa-form-actions .pa-btn.pa-btn-prev,
.pro-appointments-booking-form .pa-form-actions button.pa-btn-prev,
.pa-form-actions .pa-btn-prev {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 2px solid #FFD700 !important;
    border-color: #FFD700 !important;
    text-decoration: none !important;
}

.pro-appointments-booking-form .pa-form-actions .pa-btn.pa-btn-prev:hover,
.pro-appointments-booking-form .pa-form-actions button.pa-btn-prev:hover,
.pa-form-actions .pa-btn-prev:hover {
    background: rgba(255, 215, 0, 0.1) !important;
    background-color: rgba(255, 215, 0, 0.1) !important;
    border-color: #FFD700 !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3) !important;
}

.pro-appointments-booking-form .pa-form-actions .pa-btn.pa-btn-next,
.pro-appointments-booking-form .pa-form-actions button.pa-btn-next,
.pro-appointments-booking-form .pa-form-actions .pa-btn.pa-btn-submit,
.pro-appointments-booking-form .pa-form-actions button.pa-btn-submit,
.pa-form-actions .pa-btn-next,
.pa-form-actions .pa-btn-submit {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    background-color: #FFD700 !important;
    background-image: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.pro-appointments-booking-form .pa-form-actions .pa-btn.pa-btn-next:hover,
.pro-appointments-booking-form .pa-form-actions button.pa-btn-next:hover,
.pro-appointments-booking-form .pa-form-actions .pa-btn.pa-btn-submit:hover,
.pro-appointments-booking-form .pa-form-actions button.pa-btn-submit:hover,
.pa-form-actions .pa-btn-next:hover,
.pa-form-actions .pa-btn-submit:hover {
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5) !important;
}

/* Calendário - FORÇA MÁXIMA */
.pro-appointments-booking-form .pa-date-picker input[type="date"],
.pa-date-picker input[type="date"] {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    color-scheme: dark !important;
}

.pro-appointments-booking-form .pa-date-picker input[type="date"]::-webkit-datetime-edit,
.pro-appointments-booking-form .pa-date-picker input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.pro-appointments-booking-form .pa-date-picker input[type="date"]::-webkit-datetime-edit-text,
.pro-appointments-booking-form .pa-date-picker input[type="date"]::-webkit-datetime-edit-month-field,
.pro-appointments-booking-form .pa-date-picker input[type="date"]::-webkit-datetime-edit-day-field,
.pro-appointments-booking-form .pa-date-picker input[type="date"]::-webkit-datetime-edit-year-field {
    color: #ffffff !important;
}

.pro-appointments-booking-form .pa-date-picker input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) !important;
}

/* Step numbers - FORÇA MÁXIMA */
.pro-appointments-booking-form .pa-step-number,
.pa-step-header .pa-step-number {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    background-color: #FFD700 !important;
    background-image: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #ffffff !important;
}

/* ========================================
   MODAL DE SUCESSO (Popup Bonito)
   ======================================== */
.pa-success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.pa-success-modal.active {
    display: flex;
}

.pa-success-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #FFD700;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
    position: relative;
    animation: slideDown 0.4s ease;
}

.pa-success-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
    animation: scaleUp 0.5s ease 0.2s backwards;
}

.pa-success-modal-title {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700;
    margin: 0 0 16px;
    animation: fadeInUp 0.5s ease 0.3s backwards;
}

.pa-success-modal-message {
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
    margin: 0 0 32px;
    animation: fadeInUp 0.5s ease 0.4s backwards;
}

.pa-success-modal-close {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 40px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    animation: fadeInUp 0.5s ease 0.5s backwards !important;
}

.pa-success-modal-close:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4) !important;
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%) !important;
}

/* Animações do Modal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleUp {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Time slots - FORÇA MÁXIMA */
.pro-appointments-booking-form .pa-time-slot.selected,
.pa-time-slots .pa-time-slot.selected {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    background-color: #FFD700 !important;
    background-image: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #ffffff !important;
    border-color: #FFD700 !important;
}

/* Email optional note */
.pa-email-note {
    display: block;
    font-size: 13px;
    color: #cccccc;
    margin-top: 6px;
    line-height: 1.4;
}
