/* Custom Styles for Sanctions Conference Registration */


/* Font family */

body {
    font-family: 'Inter', system-ui, sans-serif;
}


/* Glass effect */

.glass {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9);
}


/* Animations */

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Hover lift effect */

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}


/* Form input focus states */

.group:focus-within .group-focus-within\:text-primary {
    color: #1a1a1a;
}


/* Custom scrollbar for webkit browsers */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* Smooth scrolling behavior */

html {
    scroll-behavior: smooth;
}


/* Button hover effects */

button {
    transition: all 0.3s ease;
}


/* Input and select focus styles */

input:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


/* Radio button custom styling */

input[type="radio"]:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

input[type="radio"]:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


/* Checkbox custom styling */

input[type="checkbox"]:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

input[type="checkbox"]:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


/* Links */

a {
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: underline;
}


/* Card hover effects for registration type selection */

.group:hover .group-hover\:border-green-300\/50 {
    border-color: rgba(134, 239, 172, 0.5);
}

.group:hover .group-hover\:border-blue-300\/50 {
    border-color: rgba(147, 197, 253, 0.5);
}

.group:hover .group-hover\:text-green-700 {
    color: #15803d;
}

.group:hover .group-hover\:text-blue-700 {
    color: #1d4ed8;
}

.group:hover .group-hover\:bg-green-100 {
    background-color: #dcfce7;
}

.group:hover .group-hover\:bg-blue-100 {
    background-color: #dbeafe;
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}


/* Form field group hover effects */

.group:hover .group-hover\:text-primary {
    color: #1a1a1a;
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .text-4xl {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    .text-5xl {
        font-size: 2.5rem;
        line-height: 3rem;
    }
}


/* Print styles */

@media print {
    .animate-fade-in,
    .animate-slide-up {
        animation: none;
    }
    .hover-lift:hover {
        transform: none;
        box-shadow: none;
    }
    .glass {
        background-color: white;
        backdrop-filter: none;
    }
}


/* High contrast mode support */

@media (prefers-contrast: high) {
    .glass {
        background-color: white;
        backdrop-filter: none;
    }
    .bg-white\/70 {
        background-color: white;
    }
    .bg-white\/50 {
        background-color: white;
    }
}


/* Reduced motion support */

@media (prefers-reduced-motion: reduce) {
    .animate-fade-in,
    .animate-slide-up {
        animation: none;
    }
    .hover-lift {
        transition: none;
    }
    .hover-lift:hover {
        transform: none;
    }
    * {
        transition: none !important;
        animation: none !important;
    }
}