/* صفحه لاگین */
:root {
    --myprimary: #2563eb;
    --myprimary-dark: #1d4ed8;
    --bg1: #0f172a;
    --bg2: #1e293b;
    --text-light: #f8fafc;
    --muted: rgba(248, 250, 252, 0.75);
}

.captcha-row {
    grid-template-columns: 120px 1fr;
    align-items: center;
}

.captcha-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    direction: rtl;
}

.captcha-image {
    height: 58px;
    width: 130px;
    border-radius: 10px;
    border: 1px solid #dbe3ea;
    flex-shrink: 0;
    text-align: center;
    align-items: center;
}

.captcha-input {
    flex: 1;
    height: 42px !important;
    font-size: 14px;
    border-radius: 12px !important;
}

.captcha-title {
    display: flex;
    align-items: center;
    min-height: 42px;
    font-size: 14px;
    font-weight: 800;
    color: #334155;
    white-space: nowrap;
}

.captcha-row {
    grid-template-columns: 120px 1fr;
    align-items: center;
}

.captcha-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    direction: rtl;
}

.captcha-input {
    flex: 1;
    height: 42px !important;
    font-size: 14px;
    border-radius: 12px !important;
}

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-shell {
    width: 100%;
    max-width: 860px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.login-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
}

.login-brand {
    position: relative;
    padding: 32px;
    color: var(--text-light);
    background:
        linear-gradient(160deg, rgba(37, 99, 235, 0.24), rgba(22, 163, 74, 0.16)),
        rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.login-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.10), transparent 22%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08), transparent 18%),
        radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.06), transparent 20%);
    pointer-events: none;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 24px;
    font-size: 14px;
    width: 100%;
    color: var(--text-light);
}

.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.feature-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    font-size: 18px;
}

.feature-text-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
}

.feature-text-row strong {
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
}

.feature-text-row span {
    font-weight: 700;
    color: rgba(248, 250, 252, 0.82);
}

.login-panel {
    background: rgba(255, 255, 255, 0.92);
    padding: 18px 20px 22px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.login-form-box {
    width: 100%;
    max-width: 320px;
    padding-top: 2px;
}

.form-label-modern {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 14px;
    font-weight: 800;
    color: #334155;
    min-height: 42px;
    margin: 0;
    letter-spacing: 0.2px;
    font-family: "Vazir", "Tahoma", sans-serif;
    position: relative;
}

.form-label-modern::before {
    content: "✦";
    color: #2563eb;
    margin-left: 8px;
    font-size: 12px;
    transform: translateY(-1px);
}

.form-control {
    border-radius: 12px !important;
    min-height: 42px;
    border: 1px solid #dbe3ea;
    background: #fff;
    box-shadow: none !important;
    padding-inline: 12px;
    font-size: 14px;
}

.form-control:focus {
    border-color: var(--myprimary);
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .12) !important;
}

.captcha-image {
    height: 58px;
    width: 130px;
    border-radius: 10px;
    border: 1px solid #dbe3ea;
    display: block;
    margin-bottom: 8px;
}

.btn-login {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--myprimary), var(--myprimary-dark));
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.btn-login:hover {
    opacity: 0.95;
}

.small-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 13px;
    color: #334155;
    line-height: 2;
    margin-top: 12px;
    text-align: center;
}

.small-info strong {
    color: #0f172a;
}

.login-form-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

@media (max-width: 992px) {
    .login-grid {
        grid-template-columns: 1fr;
    }

    .login-brand {
        padding: 28px;
        min-height: auto;
    }

    .login-form-box {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .login-shell {
        border-radius: 22px;
    }

    .login-brand {
        padding: 20px;
    }

    .login-form-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .form-label-modern {
        min-height: auto;
    }
}


/* آیکن های صفحه اول  */

.maindvicon {
    text-align: center;
    background-color: white;
    margin: 5px;
    border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    border: 0px solid #000000;
    -webkit-box-shadow: 1px 1px 12px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 1px 12px -4px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 12px -4px rgba(0, 0, 0, 0.75);
    height: 120px;
}

.maindvicon:hover {
    background: rgba(179, 220, 237, 1);
    background: -moz-linear-gradient(left, rgba(179, 220, 237, 1) 0%, rgba(216, 232, 237, 1) 50%, rgba(188, 224, 238, 1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(179, 220, 237, 1)), color-stop(50%, rgba(216, 232, 237, 1)), color-stop(100%, rgba(188, 224, 238, 1)));
    background: -webkit-linear-gradient(left, rgba(179, 220, 237, 1) 0%, rgba(216, 232, 237, 1) 50%, rgba(188, 224, 238, 1) 100%);
    background: -o-linear-gradient(left, rgba(179, 220, 237, 1) 0%, rgba(216, 232, 237, 1) 50%, rgba(188, 224, 238, 1) 100%);
    background: -ms-linear-gradient(left, rgba(179, 220, 237, 1) 0%, rgba(216, 232, 237, 1) 50%, rgba(188, 224, 238, 1) 100%);
    background: linear-gradient(to right, rgba(179, 220, 237, 1) 0%, rgba(216, 232, 237, 1) 50%, rgba(188, 224, 238, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#b3dced', endColorstr='#bce0ee', GradientType=1);
}

.mainicona,
.mainicona:hover {
    text-decoration: none !important;
}

.mainimgicon {
    height: 70px;
    width: 70px;
}

.maindvicontitle {
    text-align: center;




    background: rgba(252, 252, 252, 1);
    background: -moz-linear-gradient(left, rgba(252, 252, 252, 1) 0%, rgba(202, 231, 237, 1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(252, 252, 252, 1)), color-stop(100%, rgba(202, 231, 237, 1)));
    background: -webkit-linear-gradient(left, rgba(252, 252, 252, 1) 0%, rgba(202, 231, 237, 1) 100%);
    background: -o-linear-gradient(left, rgba(252, 252, 252, 1) 0%, rgba(202, 231, 237, 1) 100%);
    background: -ms-linear-gradient(left, rgba(252, 252, 252, 1) 0%, rgba(202, 231, 237, 1) 100%);
    background: linear-gradient(to right, rgba(252, 252, 252, 1) 0%, rgba(202, 231, 237, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#cae7ed', GradientType=1);

    margin: 10px;
    border-radius: 50px 0px 0px 50px;
    -moz-border-radius: 50px 0px 0px 50px;
    -webkit-border-radius: 50px 0px 0px 50px;
    border: 0px solid #000000;
    -webkit-box-shadow: 1px 1px 12px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 1px 12px -4px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 12px -4px rgba(0, 0, 0, 0.75);
    height: 120px;
}


.maindvicontitle2 {
    text-align: center;

    background: rgba(252, 252, 252, 1);
    background: -moz-linear-gradient(left, rgba(252, 252, 252, 1) 0%, rgba(223, 245, 233, 1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(252, 252, 252, 1)), color-stop(100%, rgba(223, 245, 233, 1)));
    background: -webkit-linear-gradient(left, rgba(252, 252, 252, 1) 0%, rgba(223, 245, 233, 1) 100%);
    background: -o-linear-gradient(left, rgba(252, 252, 252, 1) 0%, rgba(223, 245, 233, 1) 100%);
    background: -ms-linear-gradient(left, rgba(252, 252, 252, 1) 0%, rgba(223, 245, 233, 1) 100%);
    background: linear-gradient(to right, rgba(252, 252, 252, 1) 0%, rgba(223, 245, 233, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#dff5e9', GradientType=1);

    margin: 10px;
    border-radius: 50px 0px 0px 50px;
    -moz-border-radius: 50px 0px 0px 50px;
    -webkit-border-radius: 50px 0px 0px 50px;
    border: 0px solid #000000;
    -webkit-box-shadow: 1px 1px 12px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 1px 12px -4px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 12px -4px rgba(0, 0, 0, 0.75);
    height: 120px;
}

.divfactorgroup {
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    background-color: #464646;
    color: #ffffff;
}

.divfactorgroup:hover {
    font-size: 17px;
    cursor: pointer;
    background-color: #c5c8f1 !important;
    text-align: center;
}

.divfactormaterial {
    font-size: 15px;
    cursor: pointer;
    background-color: #f4f6fc;
    text-align: center;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.68);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.68);
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.68);
    height: 40px;
    border-radius: 39px 39px 39px 39px;
    -moz-border-radius: 39px 39px 39px 39px;
    -webkit-border-radius: 39px 39px 39px 39px;
    border: 1px solid #ababab;
    /* اضافه کردن ویژگی‌های flexbox برای قرار دادن متن در وسط */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    /* فاصله بین دیوها */
}


.divfactormaterial:hover {
    font-size: 17px;
    cursor: pointer;
    text-align: center;
    background-color: #847cb4 !important;
    color: #f6fbfb;
}

.maindvicontitle2 {
    text-align: center;
}

.maindvicontitle2 span {
    font-weight: 800;
    font-size: 15px;
    color: #4a5568;
    text-shadow: 1px 1px 0px #e2e8f0;
    transition: all 0.3s ease;
    cursor: default;
}

.maindvicontitle2 span:hover {
    color: #2d3748;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
    display: inline-block;
}

.header-checkbox-confirm {
    display: flex;
    justify-content: center;
    align-items: center;
}

.select-on-check-all-confirm {
    margin-right: 5px;
}

.text-center-confirm {
    text-align: center;
}

.danger-confirm {
    background-color: #f2dede !important;
}

.success-confirm {
    background-color: #dff0d8 !important;
}

.circle-checkbox {
    position: relative;
    width: 35px;
    height: 35px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 2px solid red;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.circle-checkbox::after {
    content: '✗';
    position: absolute;
    top: 50%;
    left: 50%;
    color: red;
    transform: translate(-50%, -50%);
    font-size: 14px;
}

.circle-checkbox:checked {
    background-color: rgb(91, 250, 91);
    border-color: rgb(125, 139, 125);
}

.circle-checkbox:checked::after {
    content: '';
    width: 6px;
    height: 12px;
    border: solid rgb(15, 170, 9);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}