/* Base Styles */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --success: #059669;
    --error: #dc2626;
    --warning: #d97706;
}

/* Flash Messages */
.flash-container {
    position: fixed;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    z-index: 50;
    width: 100%;
}

.flash-message {
    position: relative;
    padding: 1rem 2.5rem 1rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease-out, fadeOut 0.5s ease-out 5s forwards;
}

.flash-message.success {
    background-color: #def7ec;
    color: #03543f;
    border: 1px solid var(--success);
}

.flash-message.error {
    background-color: #fde8e8;
    color: #9b1c1c;
    border: 1px solid var(--error);
}

.flash-message.info {
    background-color: #e1effe;
    color: #1e429f;
    border: 1px solid var(--primary);
}

.close-flash {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem;
    color: currentColor;
    opacity: 0.6;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.25rem;
}

.close-flash:hover {
    opacity: 1;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
} 