/* =========================================================
   IPENKCO Registration
   Registration Form Styles
   ========================================================= */
@font-face {
    font-family: 'IPENKCO Yekan';

    src:
        url('https://ipenkco.ir/wp-content/uploads/2026/09/Yekan.eot');

    src:
        url('https://ipenkco.ir/wp-content/uploads/2026/09/Yekan.eot?#iefix') format('embedded-opentype'),
        url('https://ipenkco.ir/wp-content/uploads/2026/09/Yekan.woff2') format('woff2'),
        url('https://ipenkco.ir/wp-content/uploads/2026/09/Yekan.woff') format('woff'),
        url('https://ipenkco.ir/wp-content/uploads/2026/09/Yekan.ttf') format('truetype');

    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.ipenkco-reg-box {
    width: 100%;
    max-width: 560px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.ipenkco-reg-box * {
    box-sizing: border-box;
}


/* عنوان */

.ipenkco-reg-title {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    color: #123b63;
    margin-bottom: 24px;
}


/* پیام */

.ipenkco-reg-message {
    display: none;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
}

.ipenkco-reg-message.success {
    display: block;
    background: #eaf8ef;
    color: #176b37;
}

.ipenkco-reg-message.error {
    display: block;
    background: #fff0f0;
    color: #a32222;
}


/* شبکه نام و نام خانوادگی */

.ipenkco-reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}


/* فیلد */

.ipenkco-reg-field {
    margin-bottom: 16px;
}


/* برچسب */

.ipenkco-reg-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}


/* ورودی */

.ipenkco-reg-field input {
    width: 100%;
    height: 48px;
    border: 1px solid #d8dee5;
    border-radius: 8px;
    padding: 0 13px;
    font-size: 15px;
    color: #222222;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}


/* فوکوس */

.ipenkco-reg-field input:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.10);
}


/* Placeholder */

.ipenkco-reg-field input::placeholder {
    color: #9aa3ad;
}


/* بخش موبایل */

.ipenkco-mobile-row {
    display: flex;
    gap: 8px;
}

.ipenkco-mobile-row input {
    flex: 1;
}


/* دکمه دریافت کد */

#ipenkco-send-otp {
    width: 125px;
    min-width: 125px;
    height: 48px;
    border: 0;
    border-radius: 8px;
    background: #123b63;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: opacity 0.2s ease,
                transform 0.1s ease;
}

#ipenkco-send-otp:hover {
    opacity: 0.92;
}

#ipenkco-send-otp:active {
    transform: scale(0.98);
}

#ipenkco-send-otp:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* راهنمای فیلد */

.ipenkco-reg-help {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.7;
    color: #777777;
}


/* بخش OTP */

#ipenkco-otp {
    text-align: center;
    letter-spacing: 5px;
    font-weight: 700;
}


/* مخفی */

.ipenkco-hidden {
    display: none !important;
}


/* دکمه ثبت نام */

#ipenkco-register-submit {
    width: 100%;
    height: 50px;
    margin-top: 4px;
    border: 0;
    border-radius: 8px;
    background: #e67e22;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: opacity 0.2s ease,
                transform 0.1s ease;
}

#ipenkco-register-submit:hover {
    opacity: 0.92;
}

#ipenkco-register-submit:active {
    transform: scale(0.99);
}

#ipenkco-register-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* پیام کاربر وارد شده */

.ipenkco-reg-notice {
    width: 100%;
    max-width: 560px;
    margin: 30px auto;
    padding: 20px;
    text-align: center;
    background: #f5f7fa;
    border-radius: 10px;
    color: #333333;
}


/* موبایل */

@media (max-width: 600px) {

    .ipenkco-reg-box {
        margin: 15px auto;
        padding: 20px;
        border-radius: 12px;
    }

    .ipenkco-reg-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .ipenkco-reg-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ipenkco-mobile-row {
        flex-direction: column;
    }

    #ipenkco-send-otp {
        width: 100%;
        min-width: 100%;
        height: 45px;
    }

}
/* =========================================
   فرم ورود ایپنکو
   هماهنگ با تم آبی و نارنجی سایت
========================================= */

.ipenkco-login-box {
    width: 100%;
    max-width: 560px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(18, 59, 99, 0.10);
    box-sizing: border-box;
}

.ipenkco-login-box * {
    box-sizing: border-box;
}


/* عنوان */

.ipenkco-login-title {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    color: #123b63;
    margin-bottom: 25px;
}


/* پیام */

#ipenkco-login-message {
    margin-bottom: 18px;
}


/* فیلد */

.ipenkco-login-field {
    margin-bottom: 18px;
}

.ipenkco-login-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #123b63;
}

.ipenkco-login-field input {
    width: 100%;
    height: 50px;
    border: 1px solid #d8dee5;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    color: #222222;
    background: #ffffff;
    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.ipenkco-login-field input:focus {
    border-color: #e67e22;
    box-shadow:
        0 0 0 3px rgba(230, 126, 34, 0.10),
        0 3px 10px rgba(18, 59, 99, 0.05);
}

.ipenkco-login-field input::placeholder {
    color: #9aa3ad;
}


/* =========================================
   کادر OTP
========================================= */

.ipenkco-login-otp-wrap {
    display: none;
}

#ipenkco-login-otp {
    text-align: center;
    letter-spacing: 6px;
    font-weight: 700;
    font-size: 17px;
}


/* =========================================
   دکمه اصلی
========================================= */

#ipenkco-login-submit {
    width: 100%;
    height: 52px;
    margin-top: 5px;

    border: none;
    border-radius: 11px;

    background: linear-gradient(
        135deg,
        #e67e22 0%,
        #f28c28 100%
    );

    color: #ffffff;

    cursor: pointer;

    font-size: 16px;
    font-weight: 700;

    /* حالت برجسته */
    box-shadow:
        0 5px 0 #c96516,
        0 8px 18px rgba(230, 126, 34, 0.25);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.2s ease;
}


/* هاور */

#ipenkco-login-submit:hover {
    opacity: 0.97;

    transform: translateY(-2px);

    box-shadow:
        0 7px 0 #c96516,
        0 12px 22px rgba(230, 126, 34, 0.28);
}


/* کلیک */

#ipenkco-login-submit:active {

    transform: translateY(3px);

    box-shadow:
        0 2px 0 #c96516,
        0 4px 10px rgba(230, 126, 34, 0.18);
}


/* حالت غیرفعال */

#ipenkco-login-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;

    transform: none;

    box-shadow:
        0 3px 0 #c96516,
        0 5px 12px rgba(230, 126, 34, 0.15);
}


/* =========================================
   متن قوانین
========================================= */

.ipenkco-login-rules {
    margin-top: 15px;

    text-align: center;

    font-size: 12px;
    line-height: 1.9;

    color: #777777;
}

.ipenkco-login-rules a {
    color: #123b63;
    text-decoration: none;
    font-weight: 600;
}

.ipenkco-login-rules a:hover {
    color: #e67e22;
    text-decoration: underline;
}


/* =========================================
   متن تایمر
========================================= */

.ipenkco-login-help {
    margin-top: 7px;

    font-size: 12px;
    line-height: 1.7;

    color: #777777;
}


/* =========================================
   موبایل
========================================= */

@media (max-width: 600px) {

    .ipenkco-login-box {
        margin: 15px auto;
        padding: 20px;
        border-radius: 14px;
    }

    .ipenkco-login-title {
        font-size: 22px;
        margin-bottom: 21px;
    }

    #ipenkco-login-submit {
        height: 50px;
        border-radius: 10px;
    }

}
/* =========================================
   فونت یکان برای کل سیستم ثبت نام و ورود
========================================= */

.ipenkco-reg-box,
.ipenkco-reg-box *,
.ipenkco-login-box,
.ipenkco-login-box * {
    font-family: 'IPENKCO Yekan', Tahoma, Arial, sans-serif !important;
}
/* =========================================
   ردیف کد تایید و ارسال مجدد
========================================= */

.ipenkco-login-otp-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.ipenkco-login-otp-row #ipenkco-login-otp {
    flex: 1;
    min-width: 0;
    height: 50px;
}

.ipenkco-login-resend {
    width: 105px;
    min-width: 105px;
    height: 50px;
    padding: 0 8px;
    border: none;
    border-radius: 10px;
    background: #123b63;
    color: #ffffff;
    font-family: 'IPENKCO Yekan', Tahoma, Arial, sans-serif !important;
    font-size: 12px;
    font-weight: 600;
    cursor: default;
    box-shadow: 0 3px 8px rgba(18, 59, 99, 0.18);
}

.ipenkco-login-resend:disabled {
    opacity: 0.75;
    cursor: default;
}

.ipenkco-login-resend:not(:disabled) {
    cursor: pointer;
}

.ipenkco-login-resend:not(:disabled):hover {
    opacity: 0.92;
}


/* موبایل */

@media (max-width: 600px) {

    .ipenkco-login-otp-row {
        gap: 6px;
    }

    .ipenkco-login-resend {
        width: 95px;
        min-width: 95px;
        font-size: 11px;
    }

}