@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

/* Animation for interactive elements */
button, .clickable {
    transition: all 0.2s ease-in-out;
}

button:hover {
    transform: translateY(-2px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* Upload button styles */
input[type="file"] + span {
    transition: all 0.2s ease;
}

input[type="file"]:hover + span {
    background-color: #e5e7eb;
}
/* Race and class card styles */
.race-card, .class-card {
    transition: all 0.3s ease;
}
.race-card:hover, .class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
/* File upload styling */
input[type="file"] + span::after {
    content: " (DOC/DOCX/JSON)";
    font-size: 0.8em;
    color: #6b7280;
}

/* Generate button animation */
button.bg-primary-500:hover {
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

/* Loading indicator */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
