/* --- TOAST NOTIFICATION --- */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #0b1018;
    border-left: 4px solid #7aa2f7;
    color: #fff;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease forwards;
}

.toast.error { border-color: #ff5c5c; }
.toast.success { border-color: #9ece6a; }

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

/* --- CYBER MODAL SYSTEM --- */
.cyber-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    place-items: center;
}

.cyber-modal-card {
    background: #0b1018;
    border: 1px solid #7aa2f7;
    padding: 25px;
    border-radius: 12px;
    width: min(90%, 350px);
    box-shadow: 0 0 20px rgba(122,162,247,0.3);
}

.cyber-modal-card.warning { border-color: #ff5c5c; }

.cyber-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(122,162,247,0.3);
    padding: 10px;
    border-radius: 6px;
    color: #fff;
    outline: none;
    margin-bottom: 15px;
}

.cyber-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #7aa2f7, #bb9af7);
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    color: #040810;
}

.card-text-style {
    background: rgba(122, 162, 247, 0.05);
    border: 2px solid rgba(122, 162, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

/* --- LANDSCAPE-FIRST COMPONENT TUNING --- */
@media (max-height: 500px) and (orientation: landscape) {
    #toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .toast {
        font-size: 0.72rem;
        padding: 10px 12px;
        margin-bottom: 8px;
    }

    .cyber-modal-card {
        width: min(92vw, 420px);
        padding: 18px;
        border-radius: 10px;
    }

    .cyber-input {
        padding: 8px 10px;
        margin-bottom: 10px;
    }

    .cyber-btn-primary {
        padding: 9px 10px;
    }
}