.flash {
    position: relative;
    margin: 10px auto 14px;
    max-width: 640px;
    border-radius: 999px;
    padding: 9px 12px 9px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.85rem;
    border: 1px solid transparent;
    box-shadow: 0 12px 30px rgba(15,23,42,0.3);
    backdrop-filter: blur(12px);
}

.flash-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.flash-title {
    font-weight: 600;
}

.flash-message {
    font-size: 0.82rem;
    opacity: 0.95;
}

/* Tip bazlı renkler */
.flash--success {
    background: rgba(22,163,74,0.15);
    border-color: rgba(34,197,94,0.7);
    color: #bbf7d0;
}

.flash--error {
    background: rgba(185,28,28,0.18);
    border-color: rgba(239,68,68,0.8);
    color: #fecaca;
}

.flash--warning {
    background: rgba(202,138,4,0.18);
    border-color: rgba(250,204,21,0.8);
    color: #fef3c7;
}

.flash--info {
    background: rgba(37,99,235,0.18);
    border-color: rgba(59,130,246,0.8);
    color: #bfdbfe;
}

.flash-close {
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 4px;
    opacity: 0.8;
}

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