/* Tổng thể trang web */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000; /* Đen hoàn toàn */
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* Khung đặt lại mật khẩu */
.reset-box {
    background: #121212; /* Đen nhạt hơn một chút */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
    width: 350px;
    text-align: center;
    /* Animation hiện lên */
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
}

/* Hiệu ứng Input hiện đại */
.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input {
    background: none;
    color: white;
    font-size: 16px;
    padding: 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #333;
    transition: 0.3s;
}

.input-group input:focus {
    outline: none;
}

/* Label bay lên khi click vào */
.input-group label {
    color: #555;
    position: absolute;
    top: 10px;
    left: 5px;
    pointer-events: none;
    transition: 0.3s ease all;
}

.input-group input:focus ~ label, 
.input-group input:valid ~ label {
    top: -15px;
    font-size: 12px;
    color: #fff;
}

/* Thanh gạch chân chạy khi focus */
.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0;
    position: absolute;
    background: #ffffff;
    transition: 0.4s ease all;
    left: 50%;
}

.input-group input:focus ~ .bar:before {
    width: 100%;
    left: 0;
}

/* Nút bấm */
.btn-reset {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px;
    width: 100%;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-reset:hover {
    background: #ccc;
    transform: scale(1.02); /* Phóng to nhẹ khi di chuột */
}

.back-link {
    display: block;
    margin-top: 20px;
    color: #555;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
}

.back-link:hover {
    color: #fff;
}


#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -10000;
}