.wallee-payment-methods {
    background: #fff;
    border-radius: 10px;
    max-width: 660px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.wallee-method {
    border-top: 1px solid #eee;
}

.wallee-method:first-child {
    border-top: none;
}

.wallee-method input[type=radio] {
    display: none;
}

.wallee-method label {
    display: flex;
    align-items: center;
    padding: 12px 15px 12px 15px;
    cursor: pointer;
    transition: background 0.3s;
    margin-left: 0 !important;
}

.wallee-method:first-child label:hover {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.wallee-method label:hover {
    background: #f0f0f045;
}

.wallee-method label:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #888;
    border-radius: 50%;
    margin-right: 10px;
}

.wallee-method:first-child label:hover,
.wallee-method:first-child input:checked+label {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.wallee-method input:checked+label {
    background-color: #d1e0ff;
    border: 1px solid #007bff;
}

.wallee-method input:checked+label:before {
    background: #007bff;
    border-color: #007bff;
}

.wallee-method .wallee-content {
    display: none;
    padding: 10px;
    color: #333;
    background: #f4f4f4;
    font-size: 15px;
}

.wallee-method input:checked~.wallee-content {
    display: block;
}

.wallee-method label span {
    flex-grow: 1;
    text-align: left;
    color: #333;
}

.wallee-method label img {
    max-height: 24px;
    margin-left: 10px;
    flex-shrink: 0;
}

.gf-wallee-field-errors {
    margin-top: 12px;
}

.gf-wallee-field-errors .gform_validation_errors {
    margin: 0;
    padding: 10px;
    max-width: 600px;
}

.gf-wallee-payment-config-error {
    color: var(--gf-ctrl-desc-color-error);
    font-family: var(--gf-ctrl-desc-font-family-error);
    font-size: var(--gf-ctrl-desc-font-size-error);
    font-style: var(--gf-ctrl-desc-font-style-error);
    font-weight: var(--gf-ctrl-desc-font-weight-error);
    letter-spacing: var(--gf-ctrl-desc-letter-spacing-error);
    line-height: var(--gf-ctrl-desc-line-height-error);
}

#form_editor_fields_container .wallee-content {
    display: none !important;
}


/* loading screen styles */
.wallee-loading-screen {
    text-align: center; 
    padding: 50px;
}

.wallee-loading-screen p,
.wallee-loading-screen h2 {
    font-family: 'Inter';
}

.wallee-loading-screen-spinner {
    border: 5px solid #eee;
    border-top: 5px solid #006cff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
}


.blockUI.blockOverlay {
  position: fixed !important; /* ensures it covers full screen */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
}

.blockUI.blockOverlay::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* perfect centering */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' style='margin:auto;background:transparent;display:block;' width='40px' height='40px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'%3E%3Ccircle cx='50' cy='50' fill='none' stroke='%23555' stroke-width='10' r='35' stroke-dasharray='164.93361431346415 56.97787143782138'%3E%3CanimateTransform attributeName='transform' type='rotate' repeatCount='indefinite' dur='1s' values='0 50 50;360 50 50' keyTimes='0;1'%3E%3C/animateTransform%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
