/* Toast Notification */
.toast-wrap {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.toast-wrap.toast-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-left: 4px solid #22c55e;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    min-width: 320px;
    max-width: 480px;
}

.toast-icon {
    color: #22c55e;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 500;
    flex: 1;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    padding: 0;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #64748b;
}

.toast-close .material-icons {
    font-size: 1.1rem;
}

/* Form Validation */
input.input-error,
select.input-error,
textarea.input-error {
    border-color: #ef4444 !important;
    background: #fff5f5 !important;
}

input.input-error:focus,
select.input-error:focus,
textarea.input-error:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

input.input-success,
select.input-success,
textarea.input-success {
    border-color: #22c55e !important;
    background: #f0fdf4 !important;
}

.field-error {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 500;
}

.field-error .material-icons {
    font-size: 0.95rem;
}

.btn-submit {
    width: 100%;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .toast-wrap {
        top: 16px;
        right: 16px;
        left: 16px;
    }

    .toast {
        min-width: unset;
        width: 100%;
    }
}