* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        background: #0f1115; /* Sesuai tema hitam dashboard */
        color: #ffffff;
        overflow: hidden;
    }

    .container {
        position: relative;
        width: 850px;
        height: 550px;
        background: #1c2029;
        border-radius: 30px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        display: flex;
        overflow: hidden;
        border: 1px solid #2e3440;
    }

    .form-box {
        width: 50%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 40px;
        background: #1c2029;
    }

    .form-box h1 {
        font-size: 36px;
        text-align: center;
        margin-bottom: 30px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .input-box {
        position: relative;
        width: 100%;
        height: 50px;
        margin-bottom: 25px;
    }

    .input-box input {
        width: 100%;
        height: 100%;
        background: #232834;
        border: 1px solid #333a4b;
        outline: none;
        border-radius: 12px;
        padding: 0 20px 0 45px;
        font-size: 16px;
        color: #ffffff;
        transition: all 0.3s ease;
    }

    .input-box input:focus {
        border-color: #1753d4;
        box-shadow: 0 0 10px rgba(23, 83, 212, 0.3);
    }

    .input-box input::placeholder {
        color: #a0aec0;
    }

    .input-box i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        color: #a0aec0;
    }

    .input-box input:focus ~ i {
        color: #1753d4;
    }

    .btn {
        width: 100%;
        height:48px;
        background: #1753d4;
        border: none;
        outline: none;
        border-radius: 12px;
        cursor: pointer;
        font-size: 16px;
        color: #ffffff;
        font-weight: 600;
        box-shadow: 0 4px 15px rgba(23, 83, 212, 0.4);
        transition: all 0.3s ease;
    }

    .btn:hover {
        background: #113fa3;
        transform: translateY(-2px);
    }

    .error-message {
        color: #ff4d4d;
        background: rgba(255, 77, 77, 0.1);
        border: 1px solid rgba(255, 77, 77, 0.2);
        padding: 10px;
        border-radius: 8px;
        font-size: 14px;
        text-align: center;
        margin-bottom: 20px;
    }

    .toggle-box {
        width: 50%;
        height: 100%;
        background: linear-gradient(135deg, #1753d4 0%, #000000 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 40px;
        text-align: center;
    }

    .toggle-panel h1 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .toggle-panel p {
        font-size: 15px;
        margin-bottom: 25px;
        color: #e2e8f0;
    }

    
    .login-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        background: transparent;
        border: 4px solid #ffffff;
        margin-right: 15px;
    }

    .register-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        background: transparent;
        border: 4px solid #ffffff;
    }

    .register-btn:hover {
        background: #ffffff;
        color: #1753d4;
    }

    @media (max-width: 768px) {
        .container {
            width: 90%;
            height: auto;
            flex-direction: column;
        }
        .form-box, .toggle-box {
            width: 100%;
            padding: 40px 30px;
        }
        .toggle-box {
            height: 200px;
        }
    }