/* 
 * Pasahouse Booking Form - Complete CSS
 * Yellow & Black Theme
 * Save this as: assets/style.css
 */

/* Main Form Container */
.pasahouse-form-container {
    width: 100%;
    max-width: 500px;
    background: #000000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

/* Form Header */
.pasahouse-form-header {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 25px;
    text-align: center;
}

.pasahouse-form-header h2 {
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

/* Form Body */
.pasahouse-form-body {
    background: #1a1a1a;
    padding: 35px 30px;
}

/* Form Groups */
.pasahouse-form-group {
    margin-bottom: 25px;
}

.pasahouse-form-group label {
    display: block;
    color: #FFD700;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.pasahouse-form-group label .required {
    color: #FFA500;
}

/* Name Fields Grid */
.pasahouse-name-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pasahouse-name-field {
    display: flex;
    flex-direction: column;
}

.pasahouse-name-field input {
    margin-bottom: 5px;
}

.pasahouse-name-field span {
    color: #888;
    font-size: 12px;
}

/* Input Fields */
.pasahouse-form-body input[type="text"],
.pasahouse-form-body input[type="email"],
.pasahouse-form-body input[type="tel"],
.pasahouse-form-body select {
    width: 100%;
    padding: 12px 15px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #ffffff;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Focus States */
.pasahouse-form-body input:focus,
.pasahouse-form-body select:focus {
    outline: none;
    border-color: #FFD700;
    background: #333333;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Placeholder Text */
.pasahouse-form-body input::placeholder {
    color: #666;
}

/* Select Dropdown */
.pasahouse-form-body select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

.pasahouse-form-body select option {
    background: #2a2a2a;
    color: #ffffff;
}

/* ReCAPTCHA Wrapper */
.pasahouse-recaptcha-wrapper {
    margin-bottom: 25px;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 4px;
    border: 1px solid #3a3a3a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pasahouse-recaptcha-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #FFD700;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.pasahouse-recaptcha-checkbox:checked {
    background: #FFD700;
    position: relative;
}

.pasahouse-recaptcha-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-size: 16px;
    font-weight: bold;
}

.pasahouse-recaptcha-checkbox:hover {
    background: rgba(255, 215, 0, 0.1);
}

.pasahouse-recaptcha-label {
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.pasahouse-recaptcha-logo {
    margin-left: auto;
    font-size: 10px;
    color: #666;
    text-align: right;
    line-height: 1.2;
}

/* Submit Button */
.pasahouse-submit-btn {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pasahouse-submit-btn:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.pasahouse-submit-btn:active {
    transform: translateY(0);
}

.pasahouse-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Error States */
.pasahouse-form-body input.error,
.pasahouse-form-body select.error {
    border-color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

/* Form Messages */
.pasahouse-form-message {
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
}

.pasahouse-form-message.success {
    background: #FFD700;
    color: #000000;
}

.pasahouse-form-message.error {
    background: #ff6b6b;
    color: #ffffff;
}

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

.pasahouse-submit-btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid #000000;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Responsive Design */
@media (max-width: 480px) {
    .pasahouse-name-group {
        grid-template-columns: 1fr;
    }
    
    .pasahouse-form-body {
        padding: 25px 20px;
    }
    
    .pasahouse-form-header h2 {
        font-size: 20px;
    }
    
    .pasahouse-recaptcha-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pasahouse-recaptcha-logo {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Breakdance Builder Compatibility */
.breakdance .pasahouse-form-container {
    margin: 0;
}

/* Override Breakdance Default Styles if needed */
.breakdance .pasahouse-form-body input,
.breakdance .pasahouse-form-body select,
.breakdance .pasahouse-submit-btn {
    font-family: inherit !important;
}

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

.pasahouse-form-container {
    animation: fadeIn 0.5s ease;
}

/* Print Styles */
@media print {
    .pasahouse-form-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .pasahouse-form-header {
        background: #FFD700 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}