
:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --text-main: #172033;
    --text-muted: #748096;
    --border: #e4e8f0;
    --background: #f5f7fc;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Be Vietnam Pro", sans-serif;
    color: var(--text-main);
    background: var(--background);
}

a {
    text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.3);
    outline-offset: 3px;
}

/* ===== POPUP NỘP BÁO CÁO THÀNH CÔNG ===== */
.success-modal[hidden] {
    display: none !important;
}

.success-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    animation: successFadeIn 0.25s ease;
}

.success-modal__content {
    width: 100%;
    max-width: 400px;
    padding: 32px 26px;
    border-radius: 20px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: successPopIn 0.3s ease;
}

.success-modal__icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcfce7;
    border: 3px solid #86efac;
}

.success-modal__icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: #16a34a;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-modal__content h2 {
    margin: 0 0 10px;
    color: #166534;
    font-size: 23px;
    font-weight: 700;
}

.success-modal__content p {
    margin: 0 0 25px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

#closeSuccessModal {
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    background: #16a34a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

#closeSuccessModal:hover {
    background: #15803d;
    transform: translateY(-1px);
}

#closeSuccessModal:focus-visible {
    outline: 3px solid #86efac;
    outline-offset: 3px;
}

@keyframes successFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes successPopIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .success-modal,
    .success-modal__content {
        animation: none;
    }
}

