/* Stolk Brothers Registration Form Styles */

div#wrapper {
    padding: 0 !important;
}
main .main__title,
main>.promo,
footer#new-footer,
header#header {
    display: none !important;
}

.stolk-registration-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;*/
    background-color: #f5dcd5;
    border-radius: 8px;
}

.stolk-registration-header {
    text-align: center;
    margin-bottom: 40px;
}

.stolk-logo {
    margin-bottom: 20px;
}

.stolk-logo img {
    max-width: 100%;
    height: auto;
}

.stolk-title {
    /*font-family: Georgia, 'Times New Roman', serif;*/
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #5a4a42;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.stolk-title .subtitle {
    font-size: 24px;
    letter-spacing: 8px;
    display: block;
}

.stolk-intro {
    padding-bottom: 30px;
    border-bottom: 2px solid #ad9a63;
}

.stolk-intro h2 {
    font-size: 18px;
    color: #5a4a42;
    line-height: 1.6;
    margin: 0 0 20px 0;
    padding: 0;
}

.stolk-date {
    font-size: 16px;
    font-weight: 600;
    color: #5a4a42;
    margin: 10px 0;
}

.stolk-cta {
    font-size: 16px;
    color: #5a4a42;
    margin: 20px 0 0 0;
}

/* Form Styles */

.stolk-form {
    background: transparent;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d4c4b8;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #ad9a63;
}

.form-group input.invalid {
    border-color: #dc3545;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #5a4a42;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    appearance: auto !important;
}

.radio-label span {
    user-select: none;
}

/* Submit Button */

.submit-button {
    width: 100%;
    padding: 14px 30px;
    background-color: #ad9a63;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover:not(:disabled) {
    background-color: #85756a;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Messages */

.form-message {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Success Message */

.stolk-success-message {
    text-align: center;
    padding: 40px 20px;
}

.stolk-success-message h3 {
    /*font-family: Georgia, 'Times New Roman', serif;*/
    font-size: 22px;
    font-weight: 600;
    color: #5a4a42;
    margin: 0 0 15px 0;
}

.stolk-success-message p {
    font-size: 16px;
    color: #5a4a42;
    margin: 0 0 30px 0;
}

.stolk-footer-image {
    margin-top: 40px;
}

.stolk-footer-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.stolk-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ad9a63;
}

.stolk-footer p {
    /*font-family: Georgia, 'Times New Roman', serif;*/
    font-size: 16px;
    line-height: 1.6;
    color: #5a4a42;
    margin: 0;
}

/* Responsive */

@media (max-width: 600px) {
    .stolk-registration-wrapper {
        padding: 30px 15px;
    }
    
    .stolk-title {
        font-size: 36px;
    }
    
    .stolk-title .subtitle {
        font-size: 18px;
        letter-spacing: 6px;
    }
    
    .stolk-intro h2 {
        font-size: 16px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
}

/* Accessibility */

.form-group input:focus,
.radio-label input:focus {
    outline: 2px solid #ad9a63;
    outline-offset: 2px;
}

/* Animation */

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

.stolk-success-message {
    animation: fadeIn 0.5s ease-out;
}
