@font-face {
    font-family: "iransanse";
    src: url("../fonts/Iranian Sans.ttf") format("truetype");
}
@font-face {
    font-family: "Yekan";
    src: url("../fonts/IRANYekanXFaNum-Regular.ttf") format("truetype");
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    background: #dde6f5;
}
body {
    margin: 0;
    font-family: 'Yekan';
}
.payment-container {
    max-width: 650px;
    margin: 10px auto 5px;
    background: white;
    border-radius: 20px;
    padding: 20px 30px 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.logo {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, #4A90E2, #2C3E50);
    border-radius: 50%;
    margin: -28px auto 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

h2 {
    color: #4A90E2;
    margin-bottom: 35px;
    margin-top: 5px;
}

.help-block{
    color:red;
    font-size : 12px;
}

.form-group {
    margin-bottom: 15px;
    text-align: right;
}
.form-group span:first-child{
    color:red;
}
label {
    display: block;
    margin-bottom: 5px;
    color: #3c3e3f;
    font-weight: 600;
    margin-right:5px;
}

.amount-input {
    position: relative;
}

 input {
    width: 100%;
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.amount-input input:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.amount-field {
    position: relative;
}

.amount-field input {
    width: 100%;
    padding-left: 70px;  
    padding-right: 20px;
}

.currency {
    position: absolute;
    left: 16px;          
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;  
    color: #4A90E2;
    font-weight: bold;
    pointer-events: none;
    white-space: nowrap;
}


.pay-btn {
    background: linear-gradient(135deg, #4A90E2, #357AE8);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.5);
}

.pay-btn:active {
    transform: translateY(0);
}

.error-box {
    background: #ffeaea;
    color: #e74c3c;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    border-right: 4px solid #e74c3c;
}

.info-box {
    background: #e8f4fd;
    color: #2980b9;
    padding: 8px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 13px;
    border-right: 4px solid #4A90E2;
}

footer {
    margin-top: 15px;
    color: #95a5a6;
    font-size: 12px;
}
.extra-info{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:0.5rem 0 1.2rem;
}
.extra-info span{
    color: #0b2d91;
    font-size: 16px;
    font-weight:600;
}
hr{
    height:1px;
    background-color:#e0e0e0;
    border:none;
    width:50%;
    margin-bottom:3rem;
}
.form-row {
display: flex;
gap: 15px;
flex-wrap: wrap; 
}

.form-row .form-group {
flex: 1; 
min-width: 180px;
}