* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }

:root {
--primary: #0070ba;
--primary-dark: #003087;
--background: #f5f7fa;
--text: #1d2d3d;
--muted: #66788a;
--border: #d9e1e8;
--success: #14804a;
--error: #c93535;
}

body {
min-height: 100vh;
font-family: Arial, Helvetica, sans-serif;
background: var(--background);
color: var(--text);
overflow-x: hidden;
}

.page {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 30px 20px;
position: relative;
z-index: 2;
}

.background-glow {
position: fixed;
width: 500px;
height: 500px;
border-radius: 50%;
filter: blur(100px);
opacity: 0.12;
z-index: 1;
pointer-events: none;
}

.glow-one {
background: #0070ba;
top: -250px;
left: -150px;
}

.glow-two {
background: #003087;
bottom: -300px;
right: -150px;
}

.payment-card {
width: 100%;
max-width: 460px;
background: #ffffff;
border: 1px solid rgba(0, 48, 135, 0.08);
border-radius: 20px;
padding: 32px;
box-shadow: 0 20px 60px rgba(29, 45, 61, 0.12);
}

.brand {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 28px;
}

.brand-icon {
width: 52px;
height: 52px;
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, var(--primary-dark), var(--primary));
color: white;
font-size: 28px;
font-weight: bold;
box-shadow: 0 8px 20px rgba(0, 112, 186, 0.25);
}

.brand h1 {
font-size: 22px;
margin-bottom: 4px;
}

.brand p {
font-size: 13px;
color: var(--muted);
}

.security-banner {
display: flex;
align-items: center;
gap: 10px;
background: #f0f8ff;
border: 1px solid #d9edff;
border-radius: 10px;
padding: 13px;
font-size: 13px;
color: #345;
margin-bottom: 25px;
}

.shield {
font-size: 16px;
}

.merchant {
margin-bottom: 22px;
}

.label {
display: block;
font-size: 11px;
font-weight: bold;
letter-spacing: 1.2px;
color: var(--muted);
margin-bottom: 8px;
}

.merchant h2 {
font-size: 21px;
margin-bottom: 6px;
}

.merchant p {
color: var(--muted);
font-size: 14px;
line-height: 1.5;
}

.amount-box {
display: flex;
align-items: center;
justify-content: space-between;
background: #f8fafc;
border: 1px solid var(--border);
border-radius: 12px;
padding: 18px;
margin-bottom: 25px;
}

.amount-box span {
color: var(--muted);
font-size: 14px;
}

.amount-box strong {
font-size: 25px;
}

.payment-form {
display: flex;
flex-direction: column;
gap: 17px;
}

.payment-form label {
display: flex;
flex-direction: column;
gap: 8px;
font-size: 14px;
font-weight: 600;
}

.payment-form input {
width: 100%;
height: 48px;
border: 1px solid var(--border);
border-radius: 10px;
padding: 0 14px;
font-size: 15px;
color: var(--text);
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-form input:focus {
border-color: var(--primary);
box-shadow: 0 0 0 4px rgba(0, 112, 186, 0.1);
}

.payment-form button {
height: 52px;
border: none;
border-radius: 10px;
margin-top: 5px;
background: linear-gradient(135deg, var(--primary-dark), var(--primary));
color: white;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: transform 0.2s, opacity 0.2s;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}

.payment-form button:hover {
transform: translateY(-1px);
}

.payment-form button:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}

.loader {
width: 17px;
height: 17px;
border: 2px solid rgba(255, 255, 255, 0.4);
border-top-color: white;
border-radius: 50%;
animation: spin 0.7s linear infinite;
}

.hidden {
display: none !important;
}

.message {
margin-top: 20px;
padding: 13px;
border-radius: 10px;
font-size: 14px;
text-align: center;
}

.success {
display: block;
background: #eaf8ef;
color: var(--success);
border: 1px solid #c5ecd3;
}

.error {
display: block;
background: #fff0f0;
color: var(--error);
border: 1px solid #ffd0d0;
}

.footer-info {
margin-top: 26px;
padding-top: 20px;
border-top: 1px solid #edf0f3;
text-align: center;
}

.footer-info > p:first-child {
font-size: 13px;
font-weight: bold;
margin-bottom: 10px;
}

.privacy {
font-size: 11px;
line-height: 1.5;
color: var(--muted);
}

@keyframes spin {
to {
transform: rotate(360deg);
}
}

@media (max-width: 500px) {
.payment-card {
padding: 25px 20px;
border-radius: 16px;
}
}
