/* ═══════════════════════════════════════════════════════════════
   ALERTS & MESSAGES - Terminal Theme
   ═══════════════════════════════════════════════════════════════ */

/* Bootstrap Alerts */
.alert {
    border-radius: 0 !important;
    border: 2px solid rgba(0, 255, 65, 0.5) !important;
    font-family: "Courier New", Courier, monospace !important;
    box-shadow:
        0 0 15px rgba(0, 255, 65, 0.2),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
    position: relative;
}

.alert::before {
    content: "[ ! ]";
    margin-right: 0.8rem;
    font-weight: bold;
}

.alert-success {
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.15), rgba(0, 255, 65, 0.05)) #0a0e0a !important;
    color: var(--phosphor-green) !important;
    border-color: var(--phosphor-green) !important;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

.alert-success::before {
    content: "[ ✓ ]";
}

.alert-danger {
    background: linear-gradient(180deg, rgba(255, 51, 51, 0.15), rgba(255, 51, 51, 0.05)) #0a0e0a !important;
    color: #ff4444 !important;
    border-color: #ff4444 !important;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.3);
}

.alert-danger::before {
    content: "[ ✗ ]";
}

.alert-info {
    background: linear-gradient(180deg, rgba(51, 153, 255, 0.15), rgba(51, 153, 255, 0.05)) #0a0e0a !important;
    color: #5599ff !important;
    border-color: #5599ff !important;
    text-shadow: 0 0 8px rgba(85, 153, 255, 0.3);
}

.alert-info::before {
    content: "[ i ]";
}

.alert-warning {
    background: rgba(255, 204, 0, 0.1) !important;
    border-color: #ffcc00 !important;
    color: #ffcc00 !important;
}

/* ═══════════════════════════════════════════════════════════════
   TERMINAL MESSAGES (Custom non-Bootstrap alerts)
   ═══════════════════════════════════════════════════════════════ */

.terminal-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 2px solid;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9rem;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2), inset 0 0 20px rgba(0, 255, 65, 0.05);
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.message-icon {
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.message-text {
    flex: 1;
}

.message-close {
    background: none;
    border: 2px solid currentColor;
    color: inherit;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 0.5rem;
    opacity: 0.7;
    transition: all 0.2s ease;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
}

.message-close:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 10px currentColor;
}

/* Message Types */
.message-success {
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.15), rgba(0, 255, 65, 0.05)) #0a0e0a;
    color: var(--phosphor-green);
    border-color: var(--phosphor-green);
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

.message-error {
    background: linear-gradient(180deg, rgba(255, 51, 51, 0.15), rgba(255, 51, 51, 0.05)) #0a0e0a;
    color: #ff4444;
    border-color: #ff4444;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.3);
}

.message-warning {
    background: linear-gradient(180deg, rgba(255, 204, 0, 0.15), rgba(255, 204, 0, 0.05)) #0a0e0a;
    color: #ffcc00;
    border-color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.3);
}

.message-info {
    background: linear-gradient(180deg, rgba(51, 153, 255, 0.15), rgba(51, 153, 255, 0.05)) #0a0e0a;
    color: #5599ff;
    border-color: #5599ff;
    text-shadow: 0 0 8px rgba(85, 153, 255, 0.3);
}