/* ================== Fonts ================== */
@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 700;
    src: url('fonts/woff/IRANSansX-Bold.woff') format('woff'),
         url('fonts/woff2/IRANSansX-Bold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 400;
    src: url('fonts/woff/IRANSansX-Regular.woff') format('woff'),
         url('fonts/woff2/IRANSansX-Regular.woff2') format('woff2');
}

.IRANSans_en,
.IRANSans_fa,
body,
input,
select,
textarea,
button {
    font-family: IRANSansX, Tahoma, Arial, sans-serif;
}

.IRANSans_fa {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}

/* ================== Base ================== */
body {
    margin-top: 5px;
    background: url("../images/body-bg2.jpg") no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

select option {
    font-family: IRANSansX;
}

/* ================== Utilities (existing) ================== */
.panel-title {
    display: inline;
    font-weight: bold;
}

.checkbox.pull-right {
    margin: 0;
}

.pl-ziro {
    padding-left: 0;
}

.margins-bottom-ex {
    margin-bottom: 10px;
}

/* ================== Loader ================== */
.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================== Images ================== */
.inlineimage {
    max-width: 470px;
    margin: auto;
}

.images {
    display: inline-block;
    max-width: 98%;
    height: auto;
    width: 22%;
    margin: 1%;
    text-align: center;
}

.my-logo-b {
    margin: 5px;
}

/* =====================================================
   🔥 Modern Payment Form Enhancements (NEW)
   ===================================================== */

/* Container spacing */
.container {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Panel card */
.panel {
    border: none;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background-color: #fff;
}

/* Panel header */
.panel-heading {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #fffefe;
    padding: 18px 15px;
    border-bottom: none;
}

.panel-heading h1 {
        color: #ffffff;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

/* Panel body */
.panel-body {
    padding: 25px 20px;
}

/* Form elements */
.form-group {
    margin-bottom: 18px;
}

label {
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

/* Inputs */
.form-control {
    height: 44px;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: none;
    transition: all 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
}

/* Textarea */
textarea.form-control {
    height: auto;
    resize: vertical;
}

/* Input groups */
.input-group-addon {
    background-color: #f1f3f5;
    border: 1px solid #ddd;
    color: #555;
    border-radius: 8px 0 0 8px;
}

.input-group .form-control {
    border-radius: 0 8px 8px 0;
}

/* Panel footer */
.panel-footer {
    background-color: #f8f9fa;
    border-top: none;
    padding: 15px;
}

/* Button */
.btn-primary {
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #0b5ed7, #0a58ca);
    transform: translateY(-1px);
}

/* ================== Responsive ================== */
@media (max-width: 768px) {
    .container {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .panel-body {
        padding: 20px 15px;
    }

    .panel-heading h1 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        font-size: 15px;
    }
}
