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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    border-top: 3px solid #7c3aed;
    box-shadow: 0 2px 20px rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-unipol {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e40af;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.logo-rental {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2563eb;
    margin-left: 0.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.tagline {
    font-size: 0.75rem;
    color: #7c3aed;
    margin-top: 0.3rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
}

.nav-link:hover {
    color: #7c3aed;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #7c3aed;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #1e3a8a;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    cursor: pointer;
}

.flag-icon {
    width: 30px;
    height: 22px;
    border-radius: 8px;
    border: 2px solid #7c3aed;
    transition: all 0.3s ease;
}

.flag-icon:hover {
    transform: scale(1.1);
    border-color: #8b5cf6;
}

.login-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.login-btn:hover {
    /* Nessun effetto hover per il pulsante login */
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    transform: none;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}


.hero-section {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fwww.unipolrental.it%2F_next%2Fimage%3Furl%3Dhttps%3A%252F%252Fwww.unipolrental.it%252Fmedia%252Ffiler_public%252F6d%252F87%252F6d87dc1a-fd57-4dd7-b923-9addab587de1%252Fusato_-_b2b.jpeg%26w%3D1920%26q%3D75&f=1&nofb=1&ipt=6408752ab62b627ecb3de81e496ee7d91cb87418328cb723f271880a0e3501b1');
    background-size: cover;
    background-position: center;
    z-index: -1;
}



.hero-content {
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-primary {
    background: #ec4899;
    color: white;
}

.btn-secondary {
    background: #ec4899;
    color: white;
}

.info-section {
    background: white;
    padding: 4rem 2rem;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.info-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #374151;
}

.info-highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    line-height: 1.6;
}

.info-blocks-section {
    background: #f1eeee;
    padding: 2rem;
}

.info-blocks-content {
    max-width: 1200px;
    margin: 0 auto;
}

.info-blocks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.info-block {
    background: transparent;
    padding: 0.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    font-family: 'Arial', sans-serif;
}

.info-block:hover {
    transform: translateY(-5px);
}

.info-block-icon {
    margin-bottom: 1.5rem;
}

.info-block-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.info-block-title {
    color: #1e3a8a;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-transform: uppercase;
}

.info-block-description {
    color: #000000;
    line-height: 1.6;
}

.offer-section {
    background: white;
    padding: 4rem 2rem;
}

.offer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 0 2rem;
}

.offer-content h2 {
    color: #d83371;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.3;
}

.offer-content p {
    color: #000000;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
    max-width: 100%;
}

.offer-content strong {
    color: #1e3a8a;
}

.vehicles-section {
    background: #f8fafc;
    padding: 4rem 2rem;
}

.vehicles-content {
    max-width: 1200px;
    margin: 0 auto;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.vehicle-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #1e3a8a;
}

.vehicle-card h3 {
    color: #1e3a8a;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vehicle-model {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.vehicle-details {
    margin-bottom: 1.5rem;
}

.vehicle-details p {
    color: #374151;
    margin-bottom: 0.5rem;
}

.vehicle-price {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.base-price {
    color: #1e3a8a;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.auction-end {
    color: #64748b;
    font-size: 0.9rem;
}

.view-auctions {
    text-align: center;
    padding: 3rem 0;
}

.view-auctions-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.view-auctions-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* Stili per le pagine Privacy e Termini */
.privacy-main {
    margin-top: 120px;
    padding: 3rem 0;
    background: #f8fafc;
    min-height: calc(100vh - 120px);
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.privacy-header h1 {
    color: #1e3a8a;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.privacy-date {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.privacy-content {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section:last-of-type {
    margin-bottom: 0;
}

.privacy-section h2 {
    color: #1e3a8a;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.privacy-section p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-section li {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-info {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: #1e3a8a;
}

.privacy-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.back-home-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

.back-home-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.login-sections {
    background: white;
    padding: 4rem 2rem;
}

.login-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.login-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: white;
    border: 2px solid #1e3a8a;
}

.login-card h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.login-card p {
    color: #1e3a8a;
    margin-bottom: 2rem;
    line-height: 1.6;
}



.why-choose-section {
    background: #0050b4;
    padding: 4rem 2rem;
}

.why-choose-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.why-choose-content h2 {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.why-choose-content h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.why-choose-content p {
    color: white;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.why-choose-content strong {
    color: white;
}

.footer {
    background: #0f3250;
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #60a5fa;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #3b82f6;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        padding: 0 1rem;
    }
    
    .btn {
        min-width: 180px;
        padding: 0.8rem 2rem;
    }
    
    .info-content, .offer-content, .why-choose-content {
        padding: 0 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vehicle-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .login-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        min-width: 160px;
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
    
    .info-text, .info-highlight {
        font-size: 1rem;
    }
    
    .feature-card, .vehicle-card, .login-card {
        padding: 1.5rem;
    }
}

/* Stili per la pagina FAQ */
.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #7c3aed;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

.faq-item h3 {
    color: #1e40af;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-item p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Stili per i form di login e registrazione */
.login-form-container,
.registration-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.1);
}

.login-form,
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
}

.form-section h3 {
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #7c3aed;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #7c3aed;
    background: white;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #7c3aed;
}

.forgot-password {
    color: #7c3aed;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #6d28d9;
    text-decoration: underline;
}

.submit-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.login-footer,
.registration-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.login-footer p,
.registration-footer p {
    margin: 0.5rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.login-footer a,
.registration-footer a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-footer a:hover,
.registration-footer a:hover {
    color: #6d28d9;
    text-decoration: underline;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-group .checkbox-container {
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-group a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .login-form-container,
    .registration-form-container {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}

/* Reset Password Styles */
.reset-password-container,
.new-password-container {
    min-height: calc(100vh - 240px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 120px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.reset-password-form,
.new-password-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.form-header h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-header p {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.reset-form,
.new-password-form {
    margin-bottom: 2rem;
}

.reset-form .submit-btn {
    margin-top: 1rem;
}

.reset-password-form label {
    color: #1e3a8a;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reset-footer,
.new-password-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    text-align: center;
}

.reset-footer p,
.new-password-footer p {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.reset-footer a,
.new-password-footer a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.reset-footer a:hover,
.new-password-footer a:hover {
    color: #6d28d9;
}

.password-requirements {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: left;
}

.password-requirements p {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    padding-left: 1.5rem;
    position: relative;
}

.password-requirements li::before {
    content: '✗';
    content: '✗';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

.password-requirements li.valid::before {
    content: '✓';
    color: #10b981;
}

@media (max-width: 768px) {
    .reset-password-form,
    .new-password-form {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
}

/* Comunicazioni Styles */
.comunicazioni-section {
    margin-bottom: 3rem;
}

.comunicazioni-section h2 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #7c3aed;
    font-weight: 700;
}

.comunicazione-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.comunicazione-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: #7c3aed;
}

.comunicazione-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.comunicazione-header h3 {
    color: #1e3a8a;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.comunicazione-date {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.comunicazione-item p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comunicazione-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
}

.comunicazioni-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.comunicazioni-footer p {
    color: #4b5563;
    margin: 0;
    font-size: 1rem;
}

.comunicazioni-footer a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.comunicazioni-footer a:hover {
    color: #6d28d9;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .comunicazione-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comunicazione-header h3 {
        min-width: auto;
    }
    
    .comunicazione-date {
        align-self: flex-start;
    }
    
    .comunicazione-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .comunicazioni-footer {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
}

/* Contatti Styles */
.contatti-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contatti-info h2,
.contatti-form h2 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #7c3aed;
    font-weight: 700;
}

.contatto-section {
    margin-bottom: 2rem;
}

.contatto-section h3 {
    color: #374151;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contatto-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.contatto-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.contatto-item div {
    flex: 1;
}

.contatto-item strong {
    display: block;
    color: #1e3a8a;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contatto-item span {
    color: #6b7280;
    font-size: 0.9rem;
}

.contatto-item a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contatto-item a:hover {
    color: #6d28d9;
    text-decoration: underline;
}

.contatto-section p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contatti-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .checkbox-group {
    margin-bottom: 1.5rem;
}

.contatti-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.contatti-footer h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contatti-footer p {
    color: #4b5563;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contatti-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .contatti-form {
        padding: 1.5rem;
        max-width: 100%;
        margin: 0;
    }
    
    .contatto-item {
        padding: 0.8rem;
    }
    
    .contatti-footer {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
}

/* Modal di Registrazione */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
    position: relative;
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    color: #1f2937;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.success-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-icon svg {
    animation: checkmark 0.6s ease-in-out;
}

.modal-body p {
    color: #4b5563;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-body p:last-of-type {
    margin-bottom: 0;
}

#countdown {
    font-weight: 700;
    color: #7c3aed;
    font-size: 1.2rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem 2rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

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

/* Animazioni */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Notifiche con animazioni fluide */
.notification {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border-left: 4px solid;
}

.error-message {
    border-left-color: #dc2626;
    background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
}

.success-message {
    border-left-color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4 0%, #f7fee7 100%);
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Effetto di pulsazione per le notifiche */
.notification {
    animation: notificationPulse 0.6s ease-out;
}

@keyframes notificationPulse {
    0% {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Effetto di scomparsa fluida */
.notification.fade-out {
    animation: notificationFadeOut 0.4s ease-in forwards;
}

@keyframes notificationFadeOut {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
    }
}

/* Hover effect per le notifiche */
.notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Spinner per il login */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body p {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .notification {
        margin: 0.5rem 0;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}


