.enter_form {
    text-align: center;
}
input[type=text] {
    border: 2px solid lightblue;
    border-radius: 4px;
    padding: 10px 6px;
    margin: 4px;
    font-family: "BYekan", Tahoma, "Times New Roman", Times, 	serif;

}

input[type=password] {
    border: 2px solid lightblue;
    border-radius: 4px;
    padding: 10px 6px;
    margin: 4px;
    font-family: "BYekan", Tahoma, "Times New Roman", Times, 	serif;

}

input[type=submit] {
    border: 2px solid white;
    border-radius: 4px;
    padding: 8px 46px 8px 46px;
    margin: 8px;
    font-family: "BYekan", Tahoma, "Times New Roman", Times, 	serif;
    cursor: pointer;
}

input[type=text]:focus {
    background-color: lightgreen;
}
input[type=password]:focus {
    background-color: lightgreen;
}
::-webkit-input-placeholder { /* Edge */
    text-align: center;
}

:-ms-input-placeholder { /* Internet Explorer */
    text-align: center;
}

::placeholder {
    text-align: center;
}

.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
}
.button {
    font-family: "BYekan", Arial, Helvetica, sans-serif;
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 8px 18px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 4px;
}
.btn_blue {
    background-color: white;
    color: black;
    border: 2px solid #008CBA;
}
.btn_blue:hover {
    background-color: #008CBA;
    color: white;
}
#login-box {
    position: relative;
    padding: 4px;
    background-color: #DFF0D8;
    border-width: 3px;
    border-style: dashed;
    border-radius: 12px;
}
#login-box, #info-box {
    display: inline-block;
    vertical-align: top;
    width: 48%; /* فضای برابر برای نمایش در کنار هم */
    box-sizing: border-box;
}

#login-box {
    margin-top: 10px;
    margin-right: 2%; /* فاصله بین المان‌ها */
}

/* نمایش عمودی برای موبایل */
@media (max-width: 768px) {
    #login-box, #info-box {
        display: block;
        width: 100%; /* نمایش المان‌ها به صورت عمودی */
        margin: 0 0 20px; /* فاصله بین المان‌ها در حالت عمودی */
    }
}

.location-box {
    margin: auto;
    display: block;
    position: relative;
    width: 100%;
    max-width: 300px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    text-align: center;
    line-height: 30px;
    overflow: visible;
    transition: all 0.3s ease;
    padding: 6px 28px;
}

/* استایل تصویر درون لینک */
.location-box img {
    position: absolute;
    top: 30%;
    transform: translate(0, -50%);
    width: 60px;
    height: 60px;
}
.location-box .right {
    right: -28px;
    transform: translate(0, -50%) rotate(5deg); /* چرخش به راست */
}

/* تصویر در سمت چپ */
.location-box .left {
    left: -28px;
    transform: translate(0, -50%) rotate(-5deg); /* چرخش به چپ */
}
/* افکت hover برای لینک */
.location-box:hover {
    background-color: #e0e0e0; /* تغییر رنگ پس‌زمینه */
    border-color: #999; /* تغییر رنگ حاشیه */
    color: #000; /* تغییر رنگ متن */
    transform: scale(1.02); /* کمی بزرگ‌تر شدن لینک */
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 900px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* پس‌زمینه تاریک هنگام نمایش پاپ‌آپ */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* دکمه بستن */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
    background: #ff4d4d;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}
.popup.active, .overlay.active {
    display: block;
}
/* استایل واکنش‌گرا برای iframe */
.popup iframe {
    width: 100%;
    height: 70vh; /* 70 درصد ارتفاع صفحه */
    border-radius: 10px;
}
.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}