* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
            padding: 20px;
            position: relative;
            overflow: hidden;
        }

        .background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            overflow: hidden;
        }

        .square {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
        }

        .square:nth-child(1) {
            width: 50px;
            height: 50px;
            top: 10%;
            left: 10%;
            animation: float 15s infinite linear;
        }

        .square:nth-child(2) {
            width: 80px;
            height: 80px;
            top: 20%;
            right: 15%;
            animation: float 12s infinite linear reverse;
        }

        .square:nth-child(3) {
            width: 40px;
            height: 40px;
            bottom: 20%;
            left: 15%;
            animation: float 10s infinite linear;
        }

        .square:nth-child(4) {
            width: 60px;
            height: 60px;
            bottom: 10%;
            right: 10%;
            animation: float 18s infinite linear reverse;
        }

        .square:nth-child(5) {
            width: 70px;
            height: 70px;
            top: 40%;
            left: 5%;
            animation: float 14s infinite linear;
        }

        .line {
            position: absolute;
            width: 2px;
            height: 100px;
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(45deg);
        }

        .line:nth-child(6) {
            top: 15%;
            left: 30%;
            animation: float 20s infinite linear;
        }

        .line:nth-child(7) {
            bottom: 15%;
            right: 30%;
            animation: float 16s infinite linear reverse;
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(180deg);
            }

            100% {
                transform: translateY(0) rotate(360deg);
            }
        }

        .login-container {
            position: relative;
            z-index: 2;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            width: 100%;
            max-width: 800px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            z-index: 10;
            animation: fadeIn 1s ease-out;
        }

        .logo {
            text-align: center;
            margin-bottom: 25px;
        }

        .logo h1 {
            color: #333;
            font-size: 28px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .logo p {
            color: #666;
            font-size: 16px;
        }

        .form-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            animation: fadeIn 1s ease-out;
        }

        .form-group {
            margin-bottom: 18px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #444;
            font-size: 14px;
        }

        .input-with-icon {
            position: relative;
        }

        .input-with-icon i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #6a11cb;
            font-size: 16px;
        }

        .input-with-icon input {
            width: 100%;
            padding: 14px 15px 14px 45px;
            border: 1px solid #ddd;
            border-radius: 10px;
            font-size: 14px;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.8);
        }

        .input-with-icon input:focus {
            outline: none;
            border-color: #6a11cb;
            box-shadow: 0 0 0 2px rgba(106, 17, 203, 0.2);
        }

        .show-password {
            grid-column: span 2;
            display: flex;
            align-items: center;
            margin: 10px 0 20px;
        }

        .show-password input {
            margin-right: 10px;
            accent-color: #6a11cb;
        }

        .show-password label {
            font-size: 14px;
            color: #555;
            cursor: pointer;
        }

        .alert {
            grid-column: span 2;
            padding: 12px 15px;
            background: #ffebee;
            color: #d32f2f;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 14px;
            position: relative;
            border-left: 4px solid #d32f2f;
        }

        .alert .close {
            position: absolute;
            top: 10px;
            right: 15px;
            cursor: pointer;
            font-weight: bold;
            font-size: 18px;
        }

        .btn-login {
            grid-column: span 2;
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
        }

        .footer {
            grid-column: span 2;
            text-align: center;
            margin-top: 25px;
            color: #777;
            font-size: 14px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }

         /* Register Link */
        .register-link {
            margin-top: -40px;
            margin-bottom: 20px;
            font-size: 14px;
            color: #5f6368;
            text-align: center;
            display: block;   /* pastikan block */
            width: 100%;      /* biar penuh */
        }

        .register-link a {
            color: #4285f4;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
        }

        .register-link a:hover {
            text-decoration: underline;
            color: #1a2980;
        }

        /* Responsiveness */
        @media (max-width: 768px) {
            .form-container {
                grid-template-columns: 1fr;
            }

            .show-password,
            .alert,
            .btn-login,
            .footer {
                grid-column: 1;
            }

            .login-container {
                padding: 25px 20px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 10px;
            }

            .login-container {
                border-radius: 15px;
                padding: 20px 15px;
            }

            .logo h1 {
                font-size: 24px;
            }

            .logo p {
                font-size: 14px;
            }
        }
        /* 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);
            }
        }