/* ========================================
   TOAST NOTIFICATION SYSTEM
   ======================================== */

.evn-toast {
    position: fixed;
    top: 20px;
    right: -400px;
    max-width: 350px;
    min-width: 300px;
    background: rgba(10, 10, 13, 0.98);
    border: 2px solid rgba(122, 26, 26, 0.5);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 99999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(139, 0, 0, 0.3);
    transition: right 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Cinzel', serif;
}

.evn-toast.evn-toast-show {
    right: 20px;
}

.evn-toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evn-toast-icon svg {
    width: 100%;
    height: 100%;
}

.evn-toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: var(--marble-white, #E6E1D5);
}

/* Toast Types */
.evn-toast-success {
    border-color: rgba(76, 175, 80, 0.5);
}

.evn-toast-success .evn-toast-icon {
    color: #4CAF50;
}

.evn-toast-error {
    border-color: rgba(244, 67, 54, 0.5);
}

.evn-toast-error .evn-toast-icon {
    color: #f44336;
}

.evn-toast-info {
    border-color: rgba(199, 164, 90, 0.5);
}

.evn-toast-info .evn-toast-icon {
    color: #C7A45A;
}

.evn-toast-warning {
    border-color: rgba(255, 152, 0, 0.5);
}

.evn-toast-warning .evn-toast-icon {
    color: #FF9800;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .evn-toast {
        right: -350px;
        max-width: calc(100vw - 40px);
        min-width: unset;
        top: 100px;
    }
    
    .evn-toast.evn-toast-show {
        right: 10px;
    }
    
    .evn-toast-message {
        font-size: 13px;
    }
}

/* ========================================
   TOAST - TRANSACTION HASH ADDITIONS
   Add this to your toast.css file
   ======================================== */

/* Transaction hash section in toast */
.evn-toast-tx {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(199, 164, 90, 0.2);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.evn-toast-tx-link {
    color: var(--gold, #C7A45A);
    text-decoration: none;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.evn-toast-tx-link:hover {
    color: #E6C870;
    text-decoration: underline;
}

.evn-toast-copy {
    background: rgba(199, 164, 90, 0.1);
    border: 1px solid rgba(199, 164, 90, 0.3);
    color: var(--gold, #C7A45A);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.evn-toast-copy:hover {
    background: rgba(199, 164, 90, 0.2);
    border-color: rgba(199, 164, 90, 0.5);
    transform: translateY(-1px);
}

.evn-toast-copy:active {
    transform: translateY(0);
}

/* Success toast with TX gets more time to read */
.evn-toast.evn-toast-success {
    min-width: 350px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .evn-toast-tx {
        gap: 6px;
    }
    
    .evn-toast-tx-link {
        font-size: 11px;
    }
    
    .evn-toast-copy {
        font-size: 10px;
        padding: 5px 10px;
    }
}