* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.register-container {
    width: 100%;
    max-width: 700px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 40px rgba(0, 255, 157, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    margin: auto;
}

.register-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    margin-top: 50px; /* Menambahkan margin atas */
}

.logo {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: all 0.3s ease; /* Menambahkan transisi halus */
}

.register-container h1 {
    color: #ffffff;
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.subtitle {
    color: #a0a0a0;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 1em;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: #00ff9d;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
}

.requirements {
    display: block;
    color: #a0a0a0;
    font-size: 0.85em;
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #00ff9d, #00a8ff);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 157, 0.4);
}

.submit-btn:active {
    transform: translateY(1px);
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.95em;
}

.alert-error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    color: #ff4d4d;
}

.alert-success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: #00ff9d;
}

@media (max-width: 768px) {
    .register-container {
        margin: 20px;
        padding: 30px;
    }

    .logo {
        max-width: 250px;
    }

    .register-container h1 {
        font-size: 1.8em;
    }

    .subtitle {
        font-size: 1em;
    }

    .form-group input {
        padding: 10px 15px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 1em;
    }
}