body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f0f8ff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; /* Ẩn các giọt nước tràn ra ngoài viewport */
}

.login-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    position: relative; /* Để định vị các giọt nước bên trong */
    z-index: 1; /* Đảm bảo form đăng nhập ở trên các giọt nước */
}

h2 {
    color: #2c3e50;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #7f8c8d;
    font-weight: bold;
    text-align: left;
}

input[type="text"],
input[type="password"] {
    padding: 12px 15px;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    width: calc(100% - 30px);
    font-size: 16px;
    box-sizing: border-box;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    text-align: left;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

.remember-me label {
    display: inline;
    margin-bottom: 0;
    font-weight: normal;
}

button {
    background-color: #3498db;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    position: relative; /* Để tạo hiệu ứng ripple (nếu muốn) */
    overflow: hidden; /* Ẩn phần ripple tràn ra ngoài */
}

button:hover {
    background-color: #2980b9;
}

.error-message {
    color: #e74c3c;
    margin-top: 10px;
}

.hidden {
    display: none;
}

.video-section {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    width: 90%;
    max-width: 700px;
    position: relative; /* Để định vị các giọt nước nếu cần */
    z-index: 1; /* Đảm bảo nội dung video ở trên các giọt nước */
}

.video-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.video-section select {
    padding: 12px 15px;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    margin-top: 15px;
    width: 100%;
    max-width: 300px;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.video-section select:focus {
    outline: none;
    border-color: #3498db;
}

.video-section video {
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 640px;
    height: auto;
}

.water-drop {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    animation: fall 3s linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) scale(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(50vh) scale(1);
        opacity: 0.9;
    }
    100% {
        transform: translateY(120vh) scale(0.5);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .login-container,
    .video-section {
        padding: 20px;
    }

    h2 {
        font-size: 1.8em;
    }

    input[type="text"],
    input[type="password"],
    button,
    select {
        font-size: 14px;
    }
}