/* Style for the overlay */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.selectable-buttons {
    display: flex;
    gap: 50px;
}

.selectable-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 40px; /* Increased padding for larger buttons */
    font-size: 16px;
    text-decoration: none; /* Remove default underline */
    color: inherit; /* Inherit color */
    cursor: pointer;
    border: 1px solid gray; /* Gray border */
    border-radius: 5px;
    background-color: transparent; /* No background color */
    position: relative; /* For positioning the top-right icon */
    width: 220px; /* Fixed width for consistency */
    height: 170px; /* Fixed height for consistency */
    text-decoration: none;
}

.selectable-link .icon {
    margin-bottom: 10px; /* Space between icon and label */
    font-size: 24px; /* Increased icon size */
}

.selectable-link.selected {
    background-color: #18c13921; /* Background color when selected */
    border-color: #009d4d; /* Border color when selected */
    color: #222d38;
}

.selected-icon {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #28a745;
    color: white;
    border-radius: 50%;
    padding: 5px;
    font-size: 12px;
    height: 17%;
    width: 13%;
    text-align: center;
}

.selectable-link.selected .selected-icon {
    display: block;
}

.disabled-button {
    background-color: #d3d3d3; /* Background color for the disabled button */
    color: white; /* Text color for the disabled button */
    cursor: not-allowed !important; /* Cursor style for the disabled button, !important is used to give it higher priority */
    padding: 15px 30px; /* Increased padding for larger size */
    font-size: 20px; /* Larger font size */
    border-radius: 40px; /* Rounded corners */
}

.enabled-button {
    background-color: #28a745; /* Green background color for the enabled button */
    color: white; /* Text color for the enabled button */
    cursor: pointer; /* Cursor style for the enabled button */
    padding: 15px 30px; /* Increased padding for larger size */
    font-size: 20px; /* Larger font size */
    border-radius: 40px; /* Rounded corners */
    border: 0px !important;
}


/* Remove hover color */
.selectable-link:hover {
    border-color: gray;
    text-decoration: none !important;
}

#policyNumber{
    width: 400px !important; /* Full-width */
    height:65px;
    font-size: 16px; /* Increase font-size */
    padding: 12px 5px 12px 15px; /* Add some padding */
    border: 1px solid #adaaaa; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
    background-color: white;
    border-radius: 10px;
}
#name{
    width: 400px !important; /* Full-width */
    height:65px;
    font-size: 16px; /* Increase font-size */
    padding: 12px 5px 12px 15px; /* Add some padding */
    border: 1px solid #adaaaa; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
    background-color: white;
    border-radius: 10px;
}
#amount{
    width: 400px !important; /* Full-width */
    height:65px;
    font-size: 16px; /* Increase font-size */
    padding: 12px 5px 12px 15px; /* Add some padding */
    border: 1px solid #adaaaa; /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
    background-color: white;
    border-radius: 10px;
}

/* Define a simple spinner */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Hide the spinner by default */
  #checkoutSpinner {
    display: none;
  }

  /* Style for the close button */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's above other content */
}

.back-arrow {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Hidden by default */
}

