.jupoma-contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.jupoma-contact-form .form-group {
    margin-bottom: 20px;
}

.jupoma-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.jupoma-contact-form .required {
    color: #e74c3c;
    font-weight: bold;
}

.jupoma-contact-form .optional {
    color: #7f8c8d;
    font-weight: normal;
    font-size: 0.9em;
}

.jupoma-contact-form input[type="text"],
.jupoma-contact-form input[type="email"],
.jupoma-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.jupoma-contact-form input[type="text"]:focus,
.jupoma-contact-form input[type="email"]:focus,
.jupoma-contact-form textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.jupoma-contact-form .description {
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

.jupoma-contact-button {
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jupoma-contact-button:hover {
    background: linear-gradient(135deg, #005177 0%, #003c5a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.jupoma-contact-button:active {
    transform: translateY(0);
}

.jupoma-contact-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #28a745;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jupoma-contact-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f1aeb5 100%);
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #dc3545;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jupoma-contact-error ul {
    margin: 0;
    padding-left: 20px;
}

.form-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 15px;
    text-align: center;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: #0073aa;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #0073aa;
    border-color: #0073aa;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text {
    color: #333;
    font-size: 14px;
}

.checkbox-text a {
    color: #0073aa;
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

.jupoma-contact-form input:invalid {
    border-color: #e74c3c;
}

.jupoma-contact-form input:valid:not(:placeholder-shown) {
    border-color: #27ae60;
}

.jupoma-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    .jupoma-contact-form-container {
        padding: 0 15px;
    }

    .jupoma-contact-form input[type="text"],
    .jupoma-contact-form input[type="email"],
    .jupoma-contact-form textarea {
        font-size: 16px;
    }
}

.checkbox-container.error {
    border: 2px solid #e74c3c !important;
    background-color: #fdf2f2 !important;
    border-radius: 4px;
    padding: 10px;
}
