* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.header {
    text-align: center;
    padding: 30px 20px 25px;
    background: transparent;
}

.logo {
    margin-bottom: 15px;
}

.logo-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.logo-image:hover {
    transform: scale(1.02);
}

h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.reg-number {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 400;
}

.contact-info {
    padding: 25px 20px;
    text-align: center;
    background: transparent;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 1rem;
    color: #495057;
    line-height: 1.5;
}

.contact-info a {
    color: #4FC3F7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #29B6F6;
    text-decoration: underline;
}

.form-container {
    background: transparent;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
}

.required {
    color: #e74c3c;
}

input,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #4FC3F7;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 195, 247, 0.25);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.response-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

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

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

.footer {
    text-align: center;
    padding: 30px 20px 15px;
    background: transparent;
    color: #6c757d;
    margin-top: 30px;
    border-top: 1px solid #e9ecef;
}

.footer p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Form section più leggera */
.form-section {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .logo-image {
        width: 100px;
        height: 100px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .form-section {
        padding: 20px;
        border-radius: 10px;
    }

    .header {
        padding: 25px 15px 20px;
    }

    .contact-info {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        width: 80px;
        height: 80px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    input,
    textarea {
        padding: 10px 14px;
    }

    .submit-btn {
        padding: 12px;
    }

    .form-section {
        padding: 18px;
    }
}