/* Base Reset and Global Styles */
:root {
  color-scheme: light; /* Add this line */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #F9FAFB;
    min-height: 100vh;
    color: #333;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.3;
}

/* Container and Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.content-wrapper {
    display: grid;
    gap: 2rem;
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Focus States */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

button:focus,
input:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Error message styles */
.error-message {
    text-align: center;
    padding: 2rem;
    background-color: #fef2f2;
    border: 2px solid #ef4444;
    border-radius: 1rem;
    max-width: 500px;
    margin: 2rem auto;
    color: #991b1b;
}

.error-message h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ef4444;
}

.error-message p {
    margin-bottom: 1rem;
}

.error-message ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.error-message ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
