.cleanzly-booking-wrapper {
    max-width: 100%;
    margin: 0px auto;
    padding: 0px;
}

.cleanzly-booking-form-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 40px;
}

.cleanzly-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.cleanzly-progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: #4CAF50;
    color: #fff;
}

.step-label {
    font-size: 14px;
    color: #666;
}

.progress-step.active .step-label {
    color: #333;
    font-weight: 600;
}

.form-step {
    display: none;
}

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

.cleaners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.cleaner-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.cleaner-card:hover {
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76,175,80,0.2);
}

.cleaner-card.selected {
    border-color: #4CAF50;
    background: #f1f8f4;
}

.cleaner-photo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.cleaner-photo img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin-bottom: 15px !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.cleaner-info h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #333;
}

.cleaner-location {
    color: #666;
    font-size: 14px;
    margin: 0 0 8px 0;
}

.cleaner-rate {
    color: #4CAF50;
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.select-cleaner-btn {
    background: #4CAF50 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: background 0.3s !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.select-cleaner-btn:hover {
    background: #45a049 !important;
    color: #fff !important;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: auto;
}

.checkbox-label a {
    color: #4CAF50;
    text-decoration: underline;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 14px 32px !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    flex: 1 !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn-primary {
    background: #4CAF50 !important;
    color: #fff !important;
}

.btn-primary:hover {
    background: #45a049 !important;
    color: #fff !important;
}

.btn-secondary {
    background: #f5f5f5 !important;
    color: #333 !important;
}

.btn-secondary:hover {
    background: #e0e0e0 !important;
    color: #333 !important;
}

.subscription-info {
    background: #f1f8f4;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #333;
}

#payment-element {
    margin-bottom: 20px;
}

.payment-message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: none;
}

.payment-message.error {
    background: #ffebee;
    color: #c62828;
    display: block;
}

.payment-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    display: block;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4CAF50;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: #fff;
    font-size: 18px;
}

.stripe-error {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}

.stripe-error p:first-child {
    font-size: 20px;
    font-weight: bold;
    color: #856404;
    margin-bottom: 15px;
}

.stripe-error p:last-child {
    color: #856404;
    line-height: 1.6;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .cleanzly-booking-form-container {
        padding: 20px;
    }
    
    .cleaners-grid {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
    }
}

/* Success Message Styles */
.cleanzly-success-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.cleanzly-success-message h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
}

.cleanzly-success-message p {
    font-size: 16px;
    margin: 15px 0;
    line-height: 1.6;
}

.cleanzly-button {
    display: inline-block !important;
    background: white !important;
    color: #667eea !important;
    padding: 12px 30px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    margin: 10px 5px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    border: none !important;
}

.cleanzly-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
    color: #764ba2 !important;
    background: white !important;
}

.cleanzly-button-secondary {
    background: #ffd700 !important;
    color: #333 !important;
}

.cleanzly-button-secondary:hover {
    background: #ffed4e !important;
    color: #000 !important;
}

.cleanzly-important-notice {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.cleanzly-small-text {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 10px;
}
