.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
    margin-bottom: 20px;
    position: sticky; /* Make the card sticky */
    top: 0; /* Stick to the top of the viewport */
}

.voucher-input {
    margin-bottom: 20px;
}

.voucher-input input {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.voucher-input button {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    background-color: #13b261;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

/* Sticky wrapper for the form */
.sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 999; /* Ensures it's on top but not too high to block other elements */
    background-color: white; /* Prevents transparency issues */
}

/* Package Card Button */
.package-card {
    position: relative; /* Ensure the package card is on top of the sticky element */
    z-index: 1; /* Higher z-index than default */
}

.package-card .subscribe-button {
    z-index: 2; /* Higher z-index to ensure it's clickable */
}


.login-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #3a3a3a;
}

.voucher-input {
    margin-bottom: 20px;
}

.voucher-input input {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.voucher-input button {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    background-color: #13b261;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.package-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.package-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.package-card h4 {
    font-size: 16px;
    color: #3a3a3a;
    margin-bottom: 5px;
}

.package-amount {
    font-size: 24px;
    font-weight: bold;
    color: #d8cd01;
    margin-top: 10px;
}

.package-details {
    font-size: 12px;
    color: #666;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.package-details span {
    margin-bottom: 5px;
}

.subscribe-button {
    padding: 8px 15px;
    border-radius: 4px;
    background-color: #173d82;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.customer-care {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    padding-bottom: 2%;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #f5f5f5;
    color: #888;
    font-size: 12px;
}



/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-header,
.modal-body,
.modal-footer {
    padding: 10px 20px;
}

.modal-body input {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.modal-footer button {
    background-color: #13b261;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}


