/**
 * General Tab Styles
 * Styles for the general settings page
 */

/* Page intro */
.prebooking-general-intro {
    font-style: italic;
    margin-top: 6px;
    color: #666;
}

/* Form table */
.prebooking-general-form {
    margin-top: 20px;
}

.prebooking-general-form .prebooking-form-table {
    width: 100%;
    max-width: 800px;
}

.prebooking-general-form .prebooking-form-table th {
    width: 200px;
    padding: 15px 10px 15px 0;
    text-align: left;
    font-weight: 600;
}

.prebooking-general-form .prebooking-form-table td {
    padding: 15px 10px;
}

.prebooking-general-form .prebooking-form-table input[type="text"],
.prebooking-general-form .prebooking-form-table input[type="email"],
.prebooking-general-form .prebooking-form-table input[type="number"] {
    width: 100%;
    max-width: 400px;
}

.prebooking-general-form .prebooking-form-table .small-text {
    max-width: 100px;
}

/* Description text */
.prebooking-general-description {
    margin-top: 6px;
    color: #666;
    font-style: italic;
}

/* Error message */
.prebooking-general-error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.prebooking-general-error p {
    margin: 0;
    color: #721c24;
}

/* Submit section */
.prebooking-general-submit {
    margin-top: 20px;
}

/* Responsive */
@media screen and (max-width: 782px) {
    .prebooking-general-form .prebooking-form-table th,
    .prebooking-general-form .prebooking-form-table td {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .prebooking-general-form .prebooking-form-table th {
        padding-bottom: 5px;
    }
    
    .prebooking-general-form .prebooking-form-table input[type="text"],
    .prebooking-general-form .prebooking-form-table input[type="email"],
    .prebooking-general-form .prebooking-form-table input[type="number"] {
        max-width: 100%;
    }
}
