/* Base Styles - Reset and typography */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    color: #333;
    background: linear-gradient(135deg, #da7756 0%, #c95d38 50%, #4a90a4 100%);
    min-height: 100vh;
    margin: 0;
    padding: 4px;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 8px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Global Typography */
section {
    background: white;
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

section h2 {
    color: #2d3748;
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #da7756;
    padding-bottom: 2px;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 2px solid #e2e8f0;
    color: #718096;
    font-weight: 500;
}

/* Tooltip styles */
.tooltip {
    max-width: 300px;
    text-align: left;
    line-height: 1.4;
    position: absolute;
    background: #2d3748;
    color: white;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #2d3748;
    border-right: 6px solid #2d3748;
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.5s ease-out;
}

/* Success animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.success {
    animation: pulse 0.3s ease-in-out;
}

/* Modal enhancements */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #5a67d8;
}
