/* Footer Tour Form Styles */

/* Hide Mailchimp form in footer - will be replaced by JavaScript */
.footer-widget1 form.mc4wp-form,
.footer-widget1 .mc4wp-form,
.footer-widget1 form[id*="mc4wp"],
.footer-widget1 .newslatter-footer {
    display: none !important;
}

/* Show our form */
.footer-tour-form-wrapper {
    margin-top: 15px;
}

.footer-tour-form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: inherit;
}

.footer-tour-form {
    display: flex;
    flex-direction: row;
    gap: 10px;
    max-width: 600px;
    width: 100%;
    align-items: stretch;
    margin: 0 auto;
}

.footer-tour-form-group {
    flex: 1;
}

.footer-tour-form-group:last-of-type {
    flex: 0 0 auto;
}

.footer-tour-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    color: #333333;
    background-color: #ffffff;
}

.footer-tour-form input[type="tel"]:focus {
    outline: none;
    border-color: #EB8317;
}

.footer-tour-form input[type="submit"] {
    padding: 12px 20px;
    background: #EB8317;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: none;
    white-space: nowrap;
    min-width: fit-content;
}

.footer-tour-form input[type="submit"]:hover:not(:disabled) {
    background: #10375C;
}

.footer-tour-form input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.footer-tour-message {
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-tour-form.hidden-form .footer-tour-form-group {
    display: none;
}

.footer-tour-form.hidden-form .footer-tour-message {
    margin-top: 0;
}

.footer-tour-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.footer-tour-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .footer-tour-form {
        flex-direction: column;
        gap: 8px;
        max-width: 100%;
    }
    
    .footer-tour-form-group {
        width: 100%;
    }
    
    .footer-tour-form input[type="tel"],
    .footer-tour-form input[type="submit"] {
        padding: 10px 12px;
        font-size: 14px;
        width: 100%;
    }
    
    .footer-tour-form-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
}
