

        .main-container {
            max-width: 120rem; /* Limiting width for better readability on large screens */
            margin: 2rem auto; /* Center content with some margin */
            padding: 2rem;
            background-color: #ffffff;
            border-radius: 2rem; /* 20px rounded corners */
            box-shadow: 0px 0.5rem 2rem rgba(0, 0, 0, 0.08); /* Soft shadows */
            animation: fadeIn 0.8s ease-out; /* Subtle fade-in for the main content */
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .page-heading {
            font-size: 3.8rem; /* h1 */
            color: #2c3e50;
            text-align: center;
            margin-bottom: 3rem;
            font-weight: 700;
        }

        .section-title {
            font-size: 2.8rem; /* h2 */
            color: #34495e;
            margin-top: 4rem;
            margin-bottom: 2rem;
            font-weight: 600;
            text-align: center;
        }

        .subsection-title {
            font-size: 2rem; /* h3 */
            color: #555;
            margin-top: 3rem;
            margin-bottom: 1.5rem;
            font-weight: 500;
            text-align: center;
        }

        .alert-message {
            padding: 1.5rem;
            margin-bottom: 2rem;
            border-radius: 1rem; /* Soft rounded corners */
            font-size: 1.6rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 1rem;
            box-shadow: 0px 0.2rem 0.5rem rgba(0, 0, 0, 0.05);
        }

        .alert-message.is-error {
            background-color: #f8d7da;
            color: #721c24;
            border: 0.1rem solid #f5c6cb;
        }

        .alert-message.is-success {
            background-color: #d4edda;
            color: #155724;
            border: 0.1rem solid #c3e6cb;
        }

        .alert-message.is-info {
            background-color: #e2e3e5;
            color: #383d41;
            border: 0.1rem solid #d6d8db;
        }

        .alert-message i {
            font-size: 2rem;
        }

        .form-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 3rem;
            background-color: #fdfdfd;
            border-radius: 1.5rem;
            box-shadow: 0px 0.3rem 1rem rgba(0, 0, 0, 0.07);
            margin-bottom: 3rem;
            animation: slideUp 0.6s ease-out;
        }

        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .payment-form .form-input {
            width: 100%; /* Full width within its container */
            padding: 1.4rem 1.8rem;
            margin-bottom: 1.5rem;
            border: 0.1rem solid #e0e0e0;
            border-radius: 1rem; /* Soft rounded corners */
            font-size: 1.7rem;
            color: #333;
            transition: all 0.3s ease;
            box-shadow: inset 0px 0.1rem 0.3rem rgba(0, 0, 0, 0.05);
        }

        .payment-form .form-input::placeholder {
            color: #999;
        }

        .payment-form .form-input:focus {
            border-color: #4CAF50;
            outline: none;
            box-shadow: 0px 0px 0px 0.3rem rgba(76, 175, 80, 0.2);
        }

        .primary-button, .secondary-button {
            display: inline-block;
            padding: 1.2rem 2.5rem;
            border: none;
            border-radius: 5rem; /* Pill-shaped buttons */
            cursor: pointer;
            font-size: 1.7rem;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s ease;
            text-decoration: none; /* For anchor tags */
            white-space: nowrap;
        }

        .primary-button {
            background-color: #4CAF50;
            color: #ffffff;
            box-shadow: 0px 0.4rem 1rem rgba(76, 175, 80, 0.3);
        }

        .primary-button:hover {
            background-color: #45a049;
            box-shadow: 0px 0.6rem 1.2rem rgba(76, 175, 80, 0.4);
            transform: translateY(-0.2rem);
        }

        .secondary-button {
            background-color: #e0e0e0;
            color: #555;
            box-shadow: 0px 0.4rem 1rem rgba(0, 0, 0, 0.1);
        }

        .secondary-button:hover {
            background-color: #d0d0d0;
            box-shadow: 0px 0.6rem 1.2rem rgba(0, 0, 0, 0.15);
            transform: translateY(-0.2rem);
        }

        .button-group {
            display: flex;
            gap: 1.5rem;
            margin-top: 2rem;
            justify-content: center;
            flex-wrap: wrap; /* Allow wrapping on small screens */
        }

        .info-text {
            color: #666;
            font-size: 1.5rem;
            margin: 1.5rem 0;
            text-align: center;
        }

        .divider {
            border-top: 0.1rem solid #eee;
            margin: 4rem 0;
        }

        .history-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
            gap: 2.5rem;
            margin-top: 2.5rem;
        }

        .history-card {
            background-color: #ffffff;
            border-radius: 1.8rem; /* Soft rounded corners */
            padding: 2.5rem;
            box-shadow: 0px 0.6rem 1.8rem rgba(0, 0, 0, 0.08); /* Soft shadows */
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .history-card:hover {
            transform: translateY(-0.5rem);
            box-shadow: 0px 1rem 2rem rgba(0, 0, 0, 0.12);
        }

        .history-card-detail {
            padding: 0.8rem 0;
            font-size: 1.6rem;
            color: #555;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .history-card-detail strong {
            color: #333;
            font-weight: 600;
        }

        .history-card-detail i {
            color: #4CAF50; /* Icon color */
        }

        .status-badge {
            display: inline-block;
            padding: 0.6rem 1.2rem;
            border-radius: 2rem;
            font-weight: 600;
            font-size: 1.4rem;
            text-transform: capitalize;
            margin-top: 1rem;
        }

        .status-badge.is-pending {
            background-color: #fff3cd;
            color: #856404;
        }

        .status-badge.is-completed {
            background-color: #d4edda;
            color: #155724;
        }

        .empty-state {
            padding: 4rem 2rem;
            text-align: center;
            font-size: 2rem;
            color: #888;
            background-color: #f9f9f9;
            border-radius: 1.5rem;
            box-shadow: inset 0px 0.1rem 0.5rem rgba(0, 0, 0, 0.05);
            margin-top: 3rem;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .main-container {
                margin: 1rem;
                padding: 1.5rem;
            }

            .page-heading {
                font-size: 3.2rem;
                margin-bottom: 2rem;
            }

            .section-title {
                font-size: 2.4rem;
                margin-top: 3rem;
                margin-bottom: 1.5rem;
            }

            .subsection-title {
                font-size: 1.8rem;
                margin-top: 2rem;
                margin-bottom: 1rem;
            }

            .payment-form .form-input {
                font-size: 1.6rem;
                padding: 1.2rem 1.5rem;
            }

            .primary-button, .secondary-button {
                padding: 1rem 2rem;
                font-size: 1.6rem;
            }

            .button-group {
                flex-direction: column;
                align-items: center;
            }

            .history-card {
                padding: 2rem;
            }

            .history-card-detail {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            html {
                font-size: 58%; /* Adjust base font size for very small screens if needed */
            }
            .page-heading {
                font-size: 2.8rem;
            }
            .section-title {
                font-size: 2.2rem;
            }
            .subsection-title {
                font-size: 1.7rem;
            }
            .alert-message {
                padding: 1.2rem;
                font-size: 1.4rem;
            }
            .payment-form .form-input {
                font-size: 1.5rem;
            }
            .primary-button, .secondary-button {
                width: 100%;
            }
            .button-group {
                gap: 1rem;
            }
        }
    
