/* Urban Carnivore Booking Form Styles */

.ucf-booking-form-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.ucf-booking-form {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ucf-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.ucf-form-header h2 {
    color: #1a1a1a;
    font-size: 32px;
    margin: 0 0 10px;
}

.ucf-form-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.ucf-form-messages {
    margin-bottom: 20px;
}

.ucf-message {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.ucf-message-success {
    background-color: #e8f5e9;
    border-left: 4px solid #4CAF50;
    color: #2e7d32;
}

.ucf-message-error {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
}

.ucf-form-row {
    margin-bottom: 20px;
}

.ucf-form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ucf-form-row-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .ucf-booking-form {
        padding: 30px 20px;
    }

    .ucf-form-row-2col,
    .ucf-form-row-3col {
        grid-template-columns: 1fr;
    }
}

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

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

.ucf-form-group label .required {
    color: #f4b190;
}

.ucf-form-group label .optional {
    color: #999;
    font-weight: 400;
    font-size: 12px;
}

.ucf-form-group input[type="text"],
.ucf-form-group input[type="email"],
.ucf-form-group input[type="tel"],
.ucf-form-group input[type="date"],
.ucf-form-group select,
.ucf-form-group textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ucf-form-group input:focus,
.ucf-form-group select:focus,
.ucf-form-group textarea:focus {
    outline: none;
    border-color: #f4b190;
    box-shadow: 0 0 0 3px rgba(244, 177, 144, 0.1);
}

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

.ucf-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background-color: #f4b190;
    color: #1a1a1a;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.ucf-submit-btn:hover {
    background-color: #e89f7a;
}

.ucf-submit-btn:active {
    transform: scale(0.98);
}

.ucf-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.ucf-btn-loader {
    display: inline-block;
}

.ucf-form-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.ucf-info-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.ucf-info-text a {
    color: #f4b190;
    text-decoration: none;
}

.ucf-info-text a:hover {
    text-decoration: underline;
}

/* Loading state */
.ucf-booking-form.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Deposit Notice */
.ucf-deposit-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #eff6ff;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
}

.ucf-deposit-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.ucf-deposit-content {
    flex: 1;
}

.ucf-deposit-content strong {
    display: block;
    color: #1e40af;
    margin-bottom: 6px;
    font-size: 16px;
}

.ucf-deposit-content p {
    margin: 0;
    color: #1e3a8a;
    font-size: 14px;
    line-height: 1.5;
}

.ucf-deposit-content #ucf-deposit-amount {
    color: #1e40af;
    font-weight: 600;
}

/* Payment Modal */
.ucf-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ucf-modal-content {
    position: relative;
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    height: 90vh;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease-out;
}

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

.ucf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #f4b190 0%, #e89f7a 100%);
    border-radius: 12px 12px 0 0;
}

.ucf-modal-header h3 {
    margin: 0;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
}

.ucf-modal-close {
    background: transparent;
    border: none;
    font-size: 32px;
    font-weight: 300;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.ucf-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.ucf-modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
}

#ucf-payment-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.ucf-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    border-radius: 0 0 12px 12px;
}

.ucf-modal-note {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.ucf-modal-note strong {
    color: #333;
}

/* Prevent body scroll when modal is open */
body.ucf-modal-open {
    overflow: hidden;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ucf-modal-content {
        width: 95%;
        height: 95vh;
        margin: 2.5% auto;
    }

    .ucf-modal-header {
        padding: 16px 20px;
    }

    .ucf-modal-header h3 {
        font-size: 18px;
    }

    .ucf-modal-footer {
        padding: 12px 20px;
    }
}
