html, body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.dark ::-webkit-scrollbar-track {
    background: #1f2937;
}
::-webkit-scrollbar-thumb {
    background: #e6683c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #bc1888;
}

/* Progress Ring Animation */
#progress-circle {
    transition: stroke-dashoffset 0.05s linear;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 0.4s ease-out forwards;
}

.rotate-180 { transform: rotate(180deg); transition: transform 0.3s; }
.accordion-content { transition: max-height 0.3s ease-in-out; }

/* Modal animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#confirmationModal {
    animation: fadeIn 0.3s ease-out;
}

#modalContent {
    animation: slideUp 0.3s ease-out;
}

/* Ensure modal is above everything */
.z-50 {
    z-index: 50;
}

/* Modal backdrop blur */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Smooth transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}


/* reCAPTCHA styling */
.g-recaptcha-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

.g-recaptcha {
    transform: scale(0.95);
    transform-origin: center;
}

/* Dark mode support for reCAPTCHA */
.dark .g-recaptcha {
    filter: invert(0.9) hue-rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.85);
    }
}

/* Form validation feedback */
.recaptcha-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    text-align: center;
    display: none;
}

/* Animation for notification */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slideIn {
    animation: slideIn 0.3s ease-out;
}

/* Style for code element */
code {
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

/* Accordion transitions */
.accordion-content {
    transition: max-height 0.3s ease-out;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure proper display for dark mode */
.bg-white.dark\:bg-gray-800 {
    background-color: var(--bg-color);
}

.text-gray-800.dark\:text-white {
    color: var(--text-color);
}

/* Announcement animations */
.announcement-item {
    animation: slideIn 0.5s ease-out;
    transition: all 0.3s ease;
}

.announcement-item:hover {
    transform: translateY(-2px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

