/**
 * Legal Disclaimer Modern Styling
 * Matches the app's glassmorphism design with turquoise/mint color palette
 */

#legal-disclaimer {
    /* Positioning */
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 1000;
    
    /* Clean white background with glassmorphism blur */
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    
    /* Border with app turquoise color */
    border: 1px solid rgba(126, 248, 236, 0.4) !important;
    border-radius: 12px;
    
    /* Typography */
    font-size: 11px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-align: center;
    line-height: 1.4;
    
    /* Spacing */
    padding: 10px 15px;
    
    /* Animation */
    transition: all 0.3s ease;
    
    /* Shadow for depth */
    box-shadow: 
        0 4px 20px rgba(126, 248, 236, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Text styling with turquoise color for branding */
#legal-disclaimer {
    color: #0d9488 !important; /* Darker turquoise for excellent readability on white */
}

/* Strong text (Aviso Legal:) with deeper turquoise */
#legal-disclaimer strong {
    color: #0f766e !important; /* Deeper turquoise for emphasis */
    font-weight: 600;
}

/* Hover effect for modern interaction */
#legal-disclaimer:hover {
    background: rgba(255, 255, 255, 1.0); /* Fully opaque white on hover */
    border-color: rgba(126, 248, 236, 0.6);
    box-shadow: 
        0 6px 25px rgba(126, 248, 236, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #legal-disclaimer {
        bottom: 8px;
        left: 8px;
        right: 8px;
        font-size: 10px;
        padding: 8px 12px;
        border-radius: 10px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #legal-disclaimer {
        background: rgba(255, 255, 255, 1.0);
        border: 2px solid #0f766e;
        color: #064e3b; /* Very dark turquoise for high contrast */
    }
    
    #legal-disclaimer strong {
        color: #064e3b;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    #legal-disclaimer {
        transition: none;
    }
    
    #legal-disclaimer:hover {
        transform: none;
    }
}

/* Dark mode compatibility (if ever added) */
@media (prefers-color-scheme: dark) {
    #legal-disclaimer {
        background: linear-gradient(135deg, 
            rgba(126, 248, 236, 0.2) 0%,
            rgba(179, 227, 188, 0.2) 100%
        );
        color: #e2e8f0; /* Light gray for dark mode */
        border-color: rgba(126, 248, 236, 0.4);
    }
    
    #legal-disclaimer strong {
        color: #f7fafc; /* Lighter for dark mode */
    }
}