/* Travel Form Plugin - Updated Styles */
.tfp-form {
    background: #000000;
    color: #fff;
    padding: 60px 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    min-height: 500px;
}

.tfp-form h2 {
    font-size: 3.5em;
    margin-bottom: 40px;
    color: #ffffff;
    font-family: 'Georgia', serif;
    font-weight: 300;
    letter-spacing: 1px;
}

.tfp-form h2 .highlight {
    color: #C1AA7F;
    font-style: italic;
    font-family: 'Georgia', serif;
}

.tfp-form p {
    font-size: 1.2em;
    margin-bottom: 50px;
    color: #ffffff;
    font-weight: 300;
}

/* Options Grid Layout */
.tfp-options-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers items horizontally */
    gap: 20px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tfp-form label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 15px;
    border: 2px solid #666666;
    border-radius: 0px;
    background: transparent;
    transition: all 0.3s ease;
    font-size: 1em;
    cursor: pointer;
    text-align: left;
    min-height: 50px;
    width: 200px; /* Fixed width for consistent sizing */
    box-sizing: border-box;
}

.tfp-form label:hover {
    border-color: #C1AA7F;
}

.tfp-form input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #666666;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tfp-form input[type="checkbox"]:checked {
    background: #C1AA7F;
    border-color: #C1AA7F;
}

.tfp-form input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tfp-form label:has(input[type="checkbox"]:checked) {
    border-color: #C1AA7F;
    color: #ffffff;
}

/* Navigation Buttons */
.tfp-nav-buttons {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.tfp-form button {
    padding: 12px 30px;
    background: #4a4a4a;
    border: none;
    color: #ffffff;
    cursor: pointer;
    border-radius: 0px;
    font-size: 1em;
    font-weight: 400;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.5;
    pointer-events: none;
}

.tfp-form button:hover {
    background: #5a5a5a;
}

.tfp-form button.active {
    background: #C1AA7F;
    color: #000000;
    opacity: 1;
    pointer-events: auto;
}

.tfp-form button.active:hover {
    background: #f1c40f;
}

/* Contact Form Styles */
.tfp-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tfp-form .form-group {
    text-align: left;
}

.tfp-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #C1AA7F;
    border: none;
    background: none;
    padding: 0;
}

.tfp-form input[type="text"],
.tfp-form input[type="email"],
.tfp-form input[type="date"],
.tfp-form input[type="number"],
.tfp-form textarea {
    width: 100%;
    background: rgba(51, 51, 51, 0.8);
    border: 2px solid #333;
    color: #fff;
    border-radius: 0px;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.tfp-form input[type="text"]:focus,
.tfp-form input[type="email"]:focus,
.tfp-form input[type="date"]:focus,
.tfp-form input[type="number"]:focus,
.tfp-form textarea:focus {
    outline: none;
    border-color: #C1AA7F;
    background: rgba(51, 51, 51, 1);
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.3);
}

.tfp-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Steps visibility */
.tfp-step {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
}

.tfp-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Thank you message */
.tfp-thank-you {
    display: none;
    text-align: center;
    padding: 60px 40px;
}

.tfp-thank-you.show {
    display: block;
    animation: fadeInUp 0.8s ease;
}

.tfp-thank-you h2 {
    color: #C1AA7F;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.tfp-thank-you p {
    font-size: 1.3em;
    color: #cccccc;
    margin-bottom: 30px;
}

.tfp-thank-you .check-icon {
    font-size: 4em;
    color: #27ae60;
    margin-bottom: 20px;
    animation: bounceIn 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80% {
        transform: scale(0.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tfp-form {
        padding: 30px 20px;
    }
    
    .tfp-form h2 {
        font-size: 2.5em;
    }
    
     .tfp-options-grid {
        justify-content: center;
    }
    
    .tfp-form label {
        width: 100%;
        max-width: 400px;
    }
    
    .tfp-nav-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tfp-form button {
        width: 100%;
        max-width: 250px;
    }
    
    .tfp-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
     .tfp-form label {
        width: 250px;
    }
    .tfp-options-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        max-width: 700px;
    }
}

/* Admin table styles */
#tfpsubmissions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#tfpsubmissions-table th,
#tfpsubmissions-table td {
    padding: 15px;
    border: 1px solid #C1AA7F;
    text-align: left;
}

#tfpsubmissions-table th {
    background: #C1AA7F;
    color: #000;
    font-weight: 600;
}

#tfpsubmissions-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

#tfpsubmissions-table tbody tr:hover {
    background: #f0f8ff;
}