/* Notification System Styles */

.notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    pointer-events: none;
}

.notification {
    background-color: var(--parchment);
    border: 2px solid var(--ink);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification-show {
    opacity: 1;
    transform: translateX(0);
}

.notification-hide {
    opacity: 0;
    transform: translateX(400px);
}

.notification-icon {
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.notification-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--ink);
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--ink-light);
    cursor: pointer;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all var(--transition-quick);
}

.notification-close:hover {
    background-color: var(--parchment-dark);
    color: var(--ink);
}

/* Success */
.notification-success {
    border-color: var(--correct);
}

.notification-success .notification-icon {
    background-color: var(--correct);
    color: white;
}

/* Error */
.notification-error {
    border-color: var(--incorrect);
}

.notification-error .notification-icon {
    background-color: var(--incorrect);
    color: white;
}

/* Warning */
.notification-warning {
    border-color: #f39c12;
}

.notification-warning .notification-icon {
    background-color: #f39c12;
    color: white;
}

/* Info */
.notification-info {
    border-color: var(--accent);
}

.notification-info .notification-icon {
    background-color: var(--accent);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-container {
        top: 60px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        padding: 0.75rem 1rem;
    }

    .notification-text {
        font-size: 0.9rem;
    }
}
