* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border: 0;
}

@font-face {
    font-family: "iranyekan";
    src: url("../fonts/IRANYekanXVFaNumVF.woff");
    src: url("../fonts/IRANYekanXVFaNumVF.woff2");
}

body {
    direction: rtl;
    font-size: 14px;
    text-align: right;
    color: #303030;
    font-family: "iranyekan";
    font-weight: 450;
    background: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold !important;
}

a {
    text-decoration: none;
    color: #303030;
    transition: all .2s ease-in-out;
}

li {
    list-style-position: inside;
}

img {
    max-width: 100%;
    height: auto;
}

input, button {
    font-family: "iranyekan";
}

input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
textarea {
    background: white;
    border-radius: 8px;
    width: 100%;
    padding: 8px;
    height: 48px;
    border: 1px solid #e6e6e6;
    font-family: "iranyekan";
}

.container {
    width: 1440px;
    margin: auto;
    max-width: 100% !important;
}

.header {
    width: 100%;
    box-shadow: 0 4px 10px 0 #0000000d;
    background: rgba(44, 62, 80, 0.6);
    z-index: 500;
    position: relative;
    top: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(0);  /* کاملاً نمایان */
    opacity: 1;
}

.header.hidden {
    transform: translateY(-100%); /* بالا می‌ره خارج از دید */
    opacity: 0;
}

.header .ch-header {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .ch-header .ch-header-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header .ch-header .ch-header-right .logo {
    display: flex;
    gap: 10px;
    align-items: center;
    /*border-left: 1px solid #FFFFFF;*/
    padding-left: 20px;
    margin-left: 20px;
}

.header .ch-header .ch-header-right .logo .logo-text {
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
}

.header .ch-header .ch-header-right .logo .logo-text .logo-text-first {
    font-size: 12px;
    color: #ffffff;
    font-weight: 500;
}

.header .ch-header .ch-header-right .main-menu {
display: flex;
}

.header .ch-header .ch-header-right .main-menu ul {
    display: flex;
}

.header .ch-header .ch-header-right .main-menu ul li {
    list-style: none;
    padding: 0 10px;
}

.header .ch-header .ch-header-right .main-menu ul li a {
    color: #ffffff;
    padding: 0 3px;
    transition: all .2s ease-in-out;
    display: flex;
}

.header .ch-header .ch-header-right .main-menu ul li a:hover {
    color: #bdc3c7;
    transition: all .2s ease-in-out;
}

.header .ch-header .ch-header-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header .ch-header .ch-header-left .register a {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 5px 0 rgba(153,153,153,0.7);
    transition: all .2s ease-in-out;
}

.header .ch-header .ch-header-left .register a:hover {
    background: #303030;
    transition: all .2s ease-in-out;
    color: #FFFFFF;
}

.header .ch-header .ch-header-left .today-date span {
    font-size: 14px;
    color: #FFFFFF;
}

.header .ch-header .menu-mobile-icon  {
    display: none;
}

.menu-box-mobile {
    display: none;
}

.main {
    width: 100%;
    margin-top: -70px;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    width: 100%;
    background: #2c3e50;
    padding: 20px 0;
}

.footer .footer-ch {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer .footer-ch .footer-widgets {
    width: 24%;
    padding: 5px 8px;
}

.footer .footer-ch .footer-widgets .footer-title{
    color: #ffffff;
    margin-bottom: 20px;
}

.footer .footer-ch .footer-widgets ul li {
    list-style: none;
    margin-bottom: 5px;
}

.footer .footer-ch .footer-widgets ul li a {
    color: #ffffff;
    margin-bottom: 5px;
    display: block;
    transition: all .2s ease-in-out;
}

.footer .footer-ch .footer-widgets ul li a:hover {
    transition: all .2s ease-in-out;
    color: #bdc3c7;
}

.footer .footer-ch .footer-widgets ul li p {
    color: #ffffff;
    margin-bottom: 5px;
    display: block;
    text-align: justify;
}

.footer .footer-ch .footer-widgets ul li a.img-footer {
    border-radius: 10px;
    border: 10px solid #FFFFFF;
    display: flex;
    overflow: hidden;
}

.footer .footer-ch .footer-widgets ul li a img {
    display: block;
    width: 100%;
}

.footer .copyright {
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid #7f8c8d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.footer .copyright p {
    color: #ffffff;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer .copyright p a {
    color: #ffffff;
    font-weight: 600;
    display: flex;
}

.main-slider .owl-theme .owl-dots {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.main-slider .owl-theme .owl-dots button.owl-dot span {
    background: black;
    opacity: .3;
    width: 7px;
    height: 7px;
    margin: 2px 3px;
}

.main-slider .owl-theme .owl-dots button.active span {
    background: #34495e;
    width: 18px;
    opacity: 1;
}

.main-slider .owl-carousel .owl-nav button.owl-prev:before {
    content: "\f054";
    font-weight: 900;
    font-family: "Font Awesome 6 free";
}

.main-slider .owl-carousel .owl-nav button.owl-next:before {
    content: "\f053";
    font-weight: 900;
    font-family: "Font Awesome 6 free";
}

.main-slider .owl-carousel .owl-nav button {
    position: absolute;
    bottom: 20px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all .2s ease-in-out;
}

.main-slider .owl-carousel .owl-nav button.owl-next {
    right: 100px;
}

.main-slider .owl-carousel .owl-nav button.owl-prev {
    right: 60px;
}

.main-slider .owl-carousel .owl-nav button:hover {
    background: #f7f8f7;
    color: #303030;
}

.main-slider:hover .owl-carousel .owl-nav button {
    opacity: 1;
    transition: all .2s ease-in-out;
}

.main-slider .owl-theme .owl-nav {
    margin-top: 0;
}

.about-us {
    width: 100%;
    background: #ecf0f1;
    padding: 40px 0;
}

.about-us .ch-about-us {
    display: flex;
    justify-content: space-between;
}

.about-us .ch-about-us .about-us-item {
    box-shadow: 0 0 10px 5px #00000008;
    background: #ffffff;
    border-radius: 15px;
    padding: 15px;
    width: 20%;
    transition: all .2s ease-in-out;
}

.about-us .ch-about-us .about-us-item:hover {
    background: #303030;
    color: #ffffff;
    transition: all .2s ease-in-out;
}

.about-us .ch-about-us .about-us-item h3 {
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
}

.about-us .ch-about-us .about-us-item p {
    text-align: justify;
}

.about-us .ch-about-us .about-us-item img {
    width: 90px;
    border-radius: 10px;
    margin: 0 auto 10px auto;
    display: block;
}

.swal-title,
.swal-text,
.swal-confirm {
    font-family: "iranyekan" !important;
}

.name-user-header {
    color: #FFFFFF;
}

.map-sea {
    fill: #00a8e8;
}

.map-border {
    fill: #242E47;
}

.map-island {
    fill: #364669;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-right: 0;
    margin-bottom: 0;
    list-style: none;
}

a:link, a:active, a:focus {
    color: #3a3939;
    text-decoration: none;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
}

.map-province {
    fill: #364669;
    transition: fill 0.3s ease;
}

.map-province:hover, .map-link.active  .map-province {
    fill: #CA466B;
}

.map-province-names {
    fill: #D4DBE5;
}

.province-img,
.province-det { display: none; }

.province-img.show { display: block; }

.province-det.show-det { display: block; }


.iran-map {
    margin: 40px 0;
}

.iran-map .iran-map-ch {
    display: flex;
    padding: 0 30px;
}

.iran-map .iran-map-ch .iran-map-svg {
    width: 40%;
}

.iran-map .iran-map-ch .iran-province , .iran-map .iran-map-ch .iran-province-det {
    width: 30%;
}

.province-det table {
    width: 100%;
    margin: 0 auto;               /* وسط‌چینی */
    border-collapse: collapse;
    font-size: 14px;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    border-radius: 8px;
    overflow: hidden;             /* گوشه‌های گرد روی <table> اثر کند */
}

.province-det th,
.province-det td {
    padding: 10px 14px;
    line-height: 1.6;
}

.province-det th {
    background: #f2f6ff;          /* سطر عنوان‌ها آبیِ خیلی روشن */
    text-align: right;
    font-weight: 600;
    width: 45%;
    border-bottom: 1px solid #e3e8ff;
}

.province-det td {
    background: #fff;
    text-align: left;
    direction: ltr;               /* اعداد و کاماها منظم باشند */
    border-bottom: 1px solid #f5f5f5;
}

/* آخرین ردیف بدون خط پایینی */
.province-det tr:last-child th,
.province-det tr:last-child td {
    border-bottom: none;
}

/* تغییر رنگ پس‌زمینه در حالت hover برای زیبایی */
.province-det tr:hover td {
    background: #fafbff;
}

.samaneha {
    background: #2c3e50;
}

.samaneha .ch-samaneha {
    display: flex;
}

.samaneha .ch-samaneha .samane-item {
width: 33%;
    padding: 20px;
    transition: all .2s ease-in-out;
}

.samaneha .ch-samaneha .samane-item:hover {
    background: #34495e;
    transition: all .2s ease-in-out;
}

.samaneha .ch-samaneha .samane-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: column;
    justify-content: center;

}

.samaneha .ch-samaneha .samane-item a img {
    width: 100px;
}

.samaneha .ch-samaneha .samane-item h2 {
    color: #FFFFFF;
}

.samaneha .ch-samaneha .samane-item span {
    color: #FFFFFF;
    text-align: center;
    display: block;
}


.main-home {
    width: 100%;
    background-image: url("../img/background-login.webp");
    margin-top: -70px;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 20px;
    min-height: 100vh;
}

.main-home h1 {
    margin-bottom: 30px;
    color: #FFFFFF;
    font-size: 34px;
    margin-top: 80px;
    text-align: center;
}


.main-home .logo-img-home {
    margin-bottom: 30px;
}

.main-home .logo-img-home img {
    width: 200px;
}


.main-home .item-box-home {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.main-home .item-box-home .btn-box-home {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
    min-width: 400px;
    max-width: 350px;
    margin: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.main-home .item-box-home .btn-box-home p {
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
}

.main-home .item-box-home .btn-box-home a {
    width: 100%;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 1px solid #FFFFFF;
    transition: all .3s ease-in-out;
}

.main-home .item-box-home .btn-box-home a:hover {
    background: #FFFFFF;
    color: #303030;
    border: 1px solid #303030;
    transition: all .3s ease-in-out;
    box-shadow: 0px 0px 5px 4px rgba(255,255,255,0.50);
}




.cert-verify-wrapper .alert-verify-cert {
    color: #e74c3c;
    padding: 10px 12px;
    border: 1px solid #e74c3c;
    border-radius: 8px;
    background: rgba(231, 76, 60, 0.2);
    margin-top: 10px;
}

.cert-verify-wrapper {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
    max-width: 500px;
    margin: 0 auto 30px auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cert-verify-wrapper .text {
    color: #1abc9c;
    border-radius: 8px;
    margin-top: 15px;
    padding: 10px;
    text-align: center;
    background: rgba(26, 188, 156, 0.3);
    border: 1px solid #1abc9c;
}

.cert-verify-wrapper h3 {
    color: #FFFFFF;
    text-align: center;
}

.cert-field{
    margin-bottom:14px
}

.cert-label {
    display:block;
    margin-bottom:6px;
    font-weight:600;
    font-size:13px;
    color: #FFFFFF;
}

.cert-input{
    width:100%;
    border:1px solid #ddd;
    border-radius:10px;
    padding:10px 12px;
    font-size:14px;
    background: rgba(221, 221, 221, 0.2) !important;
    color: #FFFFFF;
}

.cert-input:focus{border-color:#bbb;}

.cert-input::placeholder {
    color: rgba(221, 221, 221, 0.5);
}

.cert-help{display:block;margin-top:6px;font-size:12px; color: #FFFFFF;}

.cert-btn {
    width: 100%;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 1px solid #FFFFFF;
    transition: all .3s ease-in-out;
    margin-top: 20px;
}

.cert-btn:hover {
    background: #FFFFFF;
    color: #303030;
    border: 1px solid #303030;
    transition: all .3s ease-in-out;
    box-shadow: 0px 0px 5px 4px rgba(255,255,255,0.50);
    cursor: pointer;
}


.cert-verify-wrapper .login-captcha-box{
    display:flex;
    align-items:center;
    gap:10px;
}

.cert-result{
    margin-top:20px;
    padding: 10px;
    background: rgba(26, 188, 156, 0.3);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #1abc9c;
}
.cert-row {
    display:flex;
    gap:10px;
    padding:8px 0;
    border-bottom:1px dashed #f1f1f1;
color: #FFFFFF;
    justify-content: space-between;
}
.cert-row:last-child{border-bottom:0}
.cert-row .k{
    min-width:50%;
    font-weight:700;
}
.cert-row .v{opacity:.95}

.text-guide {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    line-height: 30px;
    text-align: center;
}

.cert-verify-wrapper a.link-download {
    width: 100%;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 1px solid #FFFFFF;
    transition: all .3s ease-in-out;
}

.cert-verify-wrapper a.link-download:hover {
    background: #FFFFFF;
    color: #303030;
    border: 1px solid #303030;
    transition: all .3s ease-in-out;
    box-shadow: 0px 0px 5px 4px rgba(255,255,255,0.50);
}

.domestic-depth-evaluation {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
    width: 80%;
    margin: 0 auto 30px auto;
    padding: 30px;
}

.domestic-depth-evaluation p {
    text-align: justify;
    margin-bottom: 10px;
}

.domestic-depth-evaluation img {
    margin: auto;
    display: block;
}

.login-pic .logo-img-login {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
}

.login-pic .logo-img-login img {
    display: block;
    width: 100px;
    height: auto;
}



