h1 {
            text-align: center;
            margin-bottom: 20px;
        }
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
        }

        main {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        input {
            margin: 10px 0;
            padding: 10px;
            border: 1px solid #6c6c6c;
            border-radius: 5px;
            box-sizing: border-box;
        }

        .card {
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 20px;
            width: 200px;
            text-align: center;
            transition: transform 0.6s ease;
        }

        .card:hover {
            background-color: #8f8d8d;
            transform: scale(1.05);
        }

        .pinjaman-card {
            display: none;
            border: 1px solid #dfaaaa;
            border-radius: 5px;
            padding: 20px;
            width: 300px;
            text-align: center;
        }

        .kredit-card {
            display: none;
            border: 1px solid #dfaaaa;
            border-radius: 5px;
            padding: 20px;
            width: 300px;
            text-align: center;
        }
        
        .hasil-card {
            display: none;
            flex-basis: 100%;
            max-width: 400px;
            margin: 10px auto 0;
            padding: 24px;
            border: 1px solid #4CAF50;
            border-radius: 5px;
            background-color: #ffffff;
            box-shadow: 0 2px 12px rgba(52, 255, 2, 0.1);
            font-weight: normal;
            text-align: center;
        }

        .hasil-card h3 {
            color: #4CAF50;
            margin-bottom: 16px;
            font-size: 1.1rem;
            border-bottom: 2px solid #4CAF50;
            padding-bottom: 8px;
        }

        .hasil-card p {
            display: flex;
            justify-content: center;  /* label kiri, nominal kanan */
            padding: 6px 0;
            border-bottom: 1px solid #f0f0f0;
            color: #333;
        }


        .button {
            background-color: #4CAF50;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            transition: transform 0.2s ease, background-color 0.2s ease;
        }

        .button:hover {
            background-color: #45a049;
            transform: scale(1.1);
        }

        .back-home {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background-color: #4CAF50;
            color: white;
            border-radius: 50%;      
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            text-decoration: none;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
            transition: transform 0.2s ease, background-color 0.2s ease;
        }

        .back-home:hover {
            background-color: #45a049;
            transform: scale(1.1);
        }