* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, Arial;
}

body {
    background: linear-gradient(135deg, #e0e7ff, #f3f4f6);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    transition: transform 0.3s ease;
    position: relative;

}

.test-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #ffdb99;
    color: #664200;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 15px;
    border: 1px solid #ffa500;
    border-top: transparent;
    border-radius: 0 0 10px 10px;
    text-transform: uppercase;
    cursor: pointer;
}


input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}



h1 {
    color: #1f2937;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

h1 span {
    color: #4c545f;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #4b5563;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    color: #1f2937;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(51, 114, 215, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

#pay-button {
    width: 100%;
    padding: 12px;
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}

#pay-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

#pay-button:active {
    transform: translateY(0);
}

#result {
    margin-top: 20px;
    font-size: 13px;
    font-weight: 500;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

#result.success {
    color: #15803d;
    background: #dcfce7;
}

#result.error {
    color: #b91c1c;
    background: #fee2e2;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
        max-width: 90%;
    }

    h1 {
        font-size: 20px;
    }

    .form-group input,
    #pay-button {
        font-size: 14px;
        padding: 10px;
    }
}

.payment-logos {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.payment-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;

}

.payment-logo:hover {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .payment-logo {
        width: 40px;
        height: 40px;
    }
}

.end {
    color: #a5a9af;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    transition: color 0.3s ease;
}

.end span {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.end:hover {
    color: #0c1016;
}