* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #1a2980, #26d0ce);
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            position: relative;
        }

        /* Background dengan bentuk persegi/poligon */
        .background {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
            overflow: hidden;
        }

        .square {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            animation: float 15s infinite linear;
        }

        .square:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 10%;
            left: 10%;
            animation-delay: 0s;
            animation-duration: 20s;
        }

        .square:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 70%;
            left: 80%;
            animation-delay: 2s;
            animation-duration: 18s;
        }

        .square:nth-child(3) {
            width: 60px;
            height: 60px;
            top: 60%;
            left: 15%;
            animation-delay: 4s;
            animation-duration: 22s;
        }

        .square:nth-child(4) {
            width: 100px;
            height: 100px;
            top: 20%;
            left: 75%;
            animation-delay: 0s;
            animation-duration: 25s;
        }

        .square:nth-child(5) {
            width: 90px;
            height: 90px;
            top: 80%;
            left: 60%;
            animation-delay: 6s;
            animation-duration: 16s;
        }

        .square:nth-child(6) {
            width: 70px;
            height: 70px;
            top: 30%;
            left: 50%;
            animation-delay: 8s;
            animation-duration: 19s;
        }

        .square:nth-child(7) {
            width: 110px;
            height: 110px;
            top: 50%;
            left: 5%;
            animation-delay: 10s;
            animation-duration: 23s;
        }

        .square:nth-child(8) {
            width: 85px;
            height: 85px;
            top: 5%;
            left: 40%;
            animation-delay: 12s;
            animation-duration: 17s;
        }

        .square:nth-child(9) {
            width: 95px;
            height: 95px;
            top: 65%;
            left: 90%;
            animation-delay: 14s;
            animation-duration: 21s;
        }

        .square:nth-child(10) {
            width: 75px;
            height: 75px;
            top: 40%;
            left: 30%;
            animation-delay: 16s;
            animation-duration: 24s;
        }

        /* Garis-garis diagonal untuk efek modern */
        .line {
            position: absolute;
            background: rgba(255, 255, 255, 0.05);
            transform-origin: center;
            animation: rotate 30s infinite linear;
        }

        .line:nth-child(11) {
            width: 2px;
            height: 200%;
            top: -50%;
            left: 20%;
            animation-delay: 0s;
        }

        .line:nth-child(12) {
            width: 2px;
            height: 200%;
            top: -50%;
            left: 40%;
            animation-delay: 5s;
        }

        .line:nth-child(13) {
            width: 2px;
            height: 200%;
            top: -50%;
            left: 60%;
            animation-delay: 10s;
        }

        .line:nth-child(14) {
            width: 2px;
            height: 200%;
            top: -50%;
            left: 80%;
            animation-delay: 15s;
        }

        /* Container Login */
        .login-container {
            width: 90%;
            max-width: 450px;
            padding: 40px 35px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(10px);
            z-index: 10;
            animation: fadeIn 1s ease-out;
        }

        /* Logo dan Judul */
        .logo {
            text-align: center;
            margin-bottom: 20px;
        }

        .logo h1 {
            font-size: 24px;
            color: #1a2980;
            font-weight: 600;
            margin-bottom: -5px;
        }

        .logo p {
            font-size: 14px;
            color: #4285f4;
        }

        /* Form Styling */
        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #1a2980;
            font-weight: 500;
            font-size: 14px;
        }

        .input-with-icon {
            position: relative;
        }

        .input-with-icon i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #4285f4;
        }

        .input-with-icon input {
            width: 100%;
            padding: 14px 15px 14px 45px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 14px;
            transition: all 0.3s;
            background: #f9f9f9;
        }

        .input-with-icon input:focus {
            border-color: #4285f4;
            box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.2);
            outline: none;
            background: #fff;
        }

        /* Show Password */
        .show-password {
            display: flex;
            align-items: center;
            margin-top: 10px;
        }

        .show-password input {
            margin-right: 8px;
            accent-color: #4285f4;
        }

        .show-password label {
            margin: 0;
            color: #5f6368;
            font-weight: normal;
            cursor: pointer;
            font-size: 13px;
        }

        /* Button */
        .btn-login {
            width: 100%;
            padding: 14px;
            background: linear-gradient(to right, #1a2980, #26d0ce);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 15px;
            box-shadow: 0 4px 15px rgba(26, 41, 128, 0.3);
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(26, 41, 128, 0.4);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        /* Register Link */
        .register-link {
            margin-top: 20px;
            font-size: 14px;
            color: #5f6368;
            text-align: center;
        }

        .register-link a {
            color: #4285f4;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
        }

        .register-link a:hover {
            text-decoration: underline;
            color: #1a2980;
        }

        /* Alert */
        .alert {
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 14px;
            text-align: left;
        }

        .alert-danger {
            background-color: #ffebee;
            color: #c62828;
            border: 1px solid #ffcdd2;
        }

        .close {
            float: right;
            cursor: pointer;
            font-weight: bold;
        }

        /* Footer */
        .footer {
            margin-top: 30px;
            color: #5f6368;
            font-size: 12px;
            text-align: center;
        }

        /* Animations */
        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 1;
                border-radius: 10px;
            }

            50% {
                opacity: 0.8;
            }

            100% {
                transform: translateY(-1000px) rotate(720deg);
                opacity: 0;
                border-radius: 20px;
            }
        }

        @keyframes rotate {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsiveness */
        /* Default (desktop) */
        .logo img {
            width: 250px;
            margin-bottom: -80px;
            margin-top: -90px;
        }

        .logo h1 {
            font-size: 24px;
            /* normal lebih besar */
        }

        /* Responsiveness untuk HP */
        @media (max-width: 510px) {
            .input-with-icon input {
                padding: 12px 12px 12px 40px;
            }

            .square,
            .line {
                display: none;
                /* hilangkan animasi di layar kecil */
            }
        }
