body {
    background: #f8f9fb;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Card mềm theo style iOS */
.card-ios {
    border-radius: 20px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* Loading overlay */
#loadingOverlay {
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.spinner {
    width: 46px;
    height: 46px;
    border: 4px solid #ddd;
    border-top-color: #007aff;
    border-radius: 50%;
    animation: spinner 0.9s linear infinite;
}
@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Toast */
#toast {
    position: fixed;
    bottom: 30px;
    left: 50%; transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s;
    z-index: 99999;
}
#toast.show {
    opacity: 1;
    pointer-events: auto;
    bottom: 50px;
}