
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    scroll-padding-top: 100px;
}

/* Container styles */
.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-top: 80px;
    flex: 1;
}

@media (min-width: 769px) {
    .container {
        padding-top: 60px;
    }
}

/* Form styles */
h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #34495e;
}

input, select, textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}

input[type="date"], input[type="number"] {
    appearance: none;
}

textarea {
    resize: vertical;
}

button {
    padding: 12px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.g-recaptcha {
    margin-bottom: 15px;
}

@media (max-width: 500px) {
    .container {
        margin: 20px;
        padding: 15px;
        padding-top: 140px;
    }
}

/* Footer styles */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    margin-bottom: 20px;
    text-align: center;
    min-height: 200px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #3498db;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-section p i {
    margin-right: 8px;
    color: #3498db;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: #3498db;
}

.share-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.share-row {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.facebook-share {
    background-color: #3b5998;
}

.facebook-share:hover {
    background-color: #2a4373;
}

.x-share {
    background-color: #000000;
}

.x-share:hover {
    background-color: #333333;
}

.whatsapp-share {
    background-color: #25D366;
}

.whatsapp-share:hover {
    background-color: #1DA851;
}

.viber-share {
    background-color: #665CAC;
}

.viber-share:hover {
    background-color: #584C96;
}

.footer-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 5px;
}

.footer-section p a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section p a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    margin-top: 20px;
    font-size: 14px;
}

/* Error message styles */
.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
    min-height: 20px; /* Reserve space to prevent layout shift */
}

.choices + .error-message {
    margin-top: 10px;
}

/* Choices.js Custom Styles */
.choices {
    margin-bottom: 15px;
}

.choices__inner {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.choices__list--single {
    padding: 0;
}

.choices__list--dropdown {
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    z-index: 9999;
}

.choices__list--dropdown .choices__item {
    font-size: 16px;
    padding: 8px;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #f0f0f0;
}

.choices__input {
    font-size: 16px;
    padding: 5px;
    background-color: #fff !important;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .container {
        padding-top: 140px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-section {
        text-align: center;
        max-width: none;
        min-height: auto;
    }

    .footer-image {
        max-width: 300px;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        font-size: 1.3rem;
    }

    .share-links {
        gap: 6px;
        margin-top: 8px;
    }

    .share-row {
        gap: 8px;
    }

    .share-btn {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .error-message {
        font-size: 0.8em;
    }

    .choices__inner {
        padding: 8px;
        font-size: 14px;
        min-height: 36px;
    }

    .choices__list--dropdown .choices__item {
        font-size: 14px;
        padding: 8px;
    }

    .choices__input {
        font-size: 14px;
        padding: 5px;
    }

    .choices__list--dropdown {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}