/* Alert System CSS */

:root {
    --bg-primary: #1C1C1E;
    --bg-secondary: #242426;
    --color-shell: #c6c7bd;
    --color-lavender: #C3A5E5;
    --color-special: #a9e86b;
    --color-warning: #E5A6A6;
    --color-salmon: #E5C3B3;
    --color-attention: #E5E5A6;
    --color-blue: #A6E5E5;
    --color-safe: #84c498;
    --color-brown: #b39546;
}

.alert-component {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    min-width: 320px;
    max-width: 480px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert-fixed {
    position: fixed;
    z-index: 9999;
}

.alert-toast {
    bottom: 24px;
    right: 24px;
}

.alert-top-center {
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
}

.alert-top-right {
    top: 24px;
    right: 24px;
}

.alert-bottom-center {
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
}

.alert-border {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    transition: width 0.2s ease;
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.alert-content {
    flex: 1;
    color: var(--color-shell);
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert-close {
    background: transparent;
    border: none;
    color: var(--color-shell);
    opacity: 0.6;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

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

.alert-close i {
    font-size: 1rem;
}

.alert-show {
    animation: slideInAlert 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.alert-hide {
    animation: slideOutAlert 0.3s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes slideInAlert {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideOutAlert {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
}

.alert-toast.alert-show {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.alert-toast.alert-hide {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

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

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

.normal-btn-f66915 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: transparent;
    border: 2px solid var(--color-shell);
    color: var(--color-shell);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.normal-btn-f66915:hover {
    background-color: rgba(198, 199, 189, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.normal-btn-f66915:active {
    transform: translateY(0);
}

.normal-btn-f66915.has-bg-f66915 {
    border: none;
    color: var(--bg-primary);
}

.normal-btn-f66915.corner-none-f66915 {
    border-radius: 0;
}

.normal-btn-f66915 i {
    font-size: 1.2rem;
}

.normal-btn-f66915 span {
    font-weight: 500;
}
