@import url("parsysm-alerts.css");
/* Profile Edit OTP Styles */
#otpModal .modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

#otpModal .modal-header {
  padding: 24px 24px 16px;
}

#otpModal .modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

#otpModal .modal-body {
  padding: 24px;
}

#otpModal .otp-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

#otpModal .otp-icon i {
  font-size: 48px;
  color: #4CAF50;
}

#otpModal .otp-inputs {
  display: flex;
  gap: 8px;
  justify-content: center;
  direction: ltr;
}

#otpModal .otp-digit {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#otpModal .otp-digit:focus {
  border-color: #4CAF50;
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

#otpModal .otp-digit.filled {
  border-color: #4CAF50;
  background-color: #f0f9f0;
}

#otpModal .otp-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

#otpModal .otp-actions button {
  min-width: 120px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

#otpModal .spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
}

#otpModal .spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #4CAF50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#otpModal .success-icon i {
  font-size: 72px;
  color: #4CAF50;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Shake animation for wrong OTP */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.shake-animation {
  animation: shake 0.5s;
}

/* Profile Edit Form Styles */
#profileEditForm .form-label-fixed {
  margin-bottom: 1rem;
  max-width: 100%;
}

#profileEditForm .form-label-fixed > .form-label {
  position: absolute;
  top: -0.65rem;
  right: 1rem;
  left: auto;
  margin: 0;
  padding: 0.15rem 0.5rem;
  background-color: #ffffff;
  z-index: 1;
  display: inline-block;
  font-weight: 500;
  color: #333;
}

#profileEditForm .form-control {
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
}

#profileEditForm .form-control:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
  outline: none;
}

#profileEditForm .form-control[readonly] {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

#profileEditForm .btn-primary {
  background-color: #4CAF50;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#profileEditForm .btn-primary:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

#profileEditForm .btn-primary:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* Hub CTA: full label on desktop, short on mobile (mobile-app-ui.css) */
.btn-add-ticket__label--short {
  display: none;
}

.btn-add-ticket--hub .btn-add-ticket__icon {
  margin-inline-end: 0.25rem;
}

.login-input-wrap .login_result_box {
    z-index: 9;
  -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, .05);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, .05);
  position: absolute;
  left: 0;
  right: 0;
  max-height: 160px;
  overflow-y: auto;
  background-color: rgb(255, 255, 255);
  border-right: 1px solid rgb(240, 240, 240);
  border-left: 1px solid rgb(240, 240, 240);
  cursor: pointer;
  direction: ltr;
  top: calc(100% + 6px);
  border-radius: 10px;
}
.width-100{
    width: 100% !important;
}

.login_result_box ul li {
display: block;
font-size: 14px;
}

.login_result_box ul {
text-align: left !important;
}
.login_result_box ul#listUserbody, .login_result_box ul#listUserbody li{
    padding: 0px !important;
    margin:0px;
}
.login_result_box ul li ol {
    font-size: 14px;
    font-weight: bold;
    direction: ltr;
    text-align: left;
    border-bottom: 1px solid rgb(240, 240, 240);
    background: rgb(255, 255, 255);
    transition: all 0.3s ease 0s;
    position: relative;
    display: block;
    height: 40px;
    padding: 10px;
}



.login_result_box ul li ol:hover {
    background: rgb(243, 243, 243);
}

.login_result_box ul li ol span {
    font-weight: normal;
    display: inline-block;
    margin-left: 3px;
    color: #817d7d;
    padding-left: 8px;
}

.withor{
    border-bottom: 1px solid #ddd;
    position: relative;
}

.withor::after {
    font-size: 14px;
    content: "یـا";
    position: absolute;
    left: 45%;
    margin-top: -19px;
    background: rgb(255, 255, 255);
    border-radius: 50%;
    text-align: center;
    padding: 10px;
    width: 41px;
}

.google-sign-in-button {
    cursor: pointer;
    margin-top:7px;
    transition: background-color .3s, box-shadow .3s;
    padding: 12px 16px 12px 42px;
    border: none;
    border-radius: 3px;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    color: #757575;
    font-size: 14px;
    font-weight: 500;
    font-family: 'IRANSans', sans-serif;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
    background-color: white;
    background-repeat: no-repeat;
    background-position: 12px 11px;
    width:100%;
    direction: rtl;
}

.google-sign-in-button:hover {
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
    outline:none;
}

.google-sign-in-button:active {
    background-color: #eeeeee;
}

.google-sign-in-button:active {
    outline: none;
    box-shadow:
            0 -1px 0 rgba(0, 0, 0, .04),
            0 2px 4px rgba(0, 0, 0, .25),
            0 0 0 3px #c8dafc;
}

.google-sign-in-button:disabled {
    filter: grayscale(100%);
    background-color: #ebebeb;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    cursor: not-allowed;
}

.login_result_box ul li ol ico {
    float: inline-end;
}

.login_result_box ul li ol span:nth-child(2) {
color: #817d7d;
}

.login_result_box .trashstate:hover {
color: #fd397a !important;
}
/*
.forget_password{
    position: absolute;
    margin-left: 46px;
    border-right: 1px solid;
    padding-right: 7px;
    left: 0;
    top: 50px;
}*/


.activation-code-input {
display: none;
}

.activation-code {
direction: ltr;
position: relative;
}

.activation-code::before {
content: '';
display: block;
position: absolute;
bottom: 0;
right: 0;
left: 0;
border-bottom: 2px solid;
border-color: #ccc;
transition: opacity 0.3s ease;
}

.activation-code > span {
position: absolute;
display: block;
font-size: 13px;
color: #ccc;
top: 0;
right: 0;
transition: all 0.3s ease;
}

.activation-code .activation-code-inputs {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
}

.activation-code .activation-code-inputs input {
display: flex;
flex-flow: column nowrap;
padding: 0;
border: 0;
outline: 0;
min-width: 0;
line-height: 36px;
text-align: center;
align-items: center;
transition: all 0.3s ease;
border-bottom: 2px solid;
border-color: #ccc;
margin-right: 8px;
opacity: 0;
}

.activation-code .activation-code-inputs input:last-child {
margin-right: 0;
}

.activation-code.active::before {
opacity: 0;
}

.activation-code.active .activation-code-inputs input {
opacity: 1 !important;
}

.activation-code .activation-code-inputs input:focus {
border-color: #46b2f0 !important;
}

.activation-code.active > span {
transform: translate(0, -100%);
line-height: 30px;
opacity: 0.6;
}

/* OTP login panel */
.account-otp-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-otp-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(14, 116, 144, 0.18);
  background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 55%, #fff 100%);
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.06);
}

.account-otp-notice--compact {
  padding: 0.8rem 0.9rem;
}

.account-otp-notice__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #0891b2, #0e7490);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 6px 14px rgba(8, 145, 178, 0.28);
}

.account-otp-notice__body {
  min-width: 0;
}

.account-otp-notice__body strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.account-otp-notice__body p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #475569;
}

.account-otp-code-wrap {
  width: 100%;
}

.account-otp-code-label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.account-otp-panel .activation-code {
  min-height: 3.4rem;
  padding: 0.65rem 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid #e8e3de;
  background: #faf9f8;
  box-sizing: border-box;
}

.account-otp-panel .activation-code::before {
  display: none;
}

.account-otp-panel .activation-code > span {
  position: static;
  display: none;
}

.account-otp-panel .activation-code .activation-code-inputs {
  gap: 0.45rem;
  justify-content: space-between;
}

.account-otp-panel .activation-code .activation-code-inputs input {
  flex: 1 1 0;
  opacity: 1 !important;
  min-height: 2.85rem;
  margin: 0;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px;
  background: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 2.85rem;
}

.account-otp-panel .activation-code .activation-code-inputs input:focus {
  border-color: var(--brand, #0a4a40) !important;
  box-shadow: 0 0 0 3px rgba(10, 74, 64, 0.12);
}

.account-otp-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.account-otp-resend {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  min-height: 1.5rem;
}

.account-otp-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #e4f3ef;
  border: 1px solid #b8d9cf;
  color: #0a4a40;
  font-size: 0.8rem;
  font-weight: 700;
}

.account-otp-resend-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: #0e7490;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.account-otp-resend-btn:hover,
.account-otp-resend-btn:focus {
  color: #155e75;
  text-decoration: underline;
}

.account-otp-inline-alert {
  width: 100%;
}

.account-otp-toast {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.account-otp-toast--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.account-auth-card__inner--otp .account-auth-card__badge {
  background: linear-gradient(135deg, #e4f3ef 0%, #d1ebe3 100%);
  color: #0a4a40;
}

.account-auth-alert-wrap .alert {
  margin: 0 0 1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.account-auth-alert-wrap .alert-info,
.account-otp-panel .alert-info {
  background: #ecfeff;
  border-color: rgba(14, 116, 144, 0.2);
  color: #155e75;
}

/* Page OTP — drawer-like */
.account-otp-panel--page {
  gap: 0.95rem;
}
.account-otp-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  border: 1px solid #f1e4d8;
  background: #fffaf6;
}
.account-otp-status__top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.account-otp-status__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}
.account-otp-status__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #15803d;
}
.account-otp-status__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #475569;
  max-width: 18rem;
}
.account-otp-panel--page .account-otp-change-user--link {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--brand, #e8550c);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  cursor: pointer;
  text-decoration: underline;
}
.account-otp-code {
  width: 100%;
}
.account-otp-panel--page .account-otp-code-label {
  display: block;
  text-align: center;
  margin-bottom: 0.65rem;
}
.account-otp-panel--page .otp-inputs-container {
  direction: ltr;
  gap: 0.4rem !important;
}
.account-otp-panel--page .otp-digit {
  width: 2.55rem !important;
  max-width: 2.55rem !important;
  height: 3rem !important;
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #fff !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0f172a;
  padding: 0 !important;
  box-shadow: none !important;
}
.account-otp-panel--page .otp-digit:focus {
  border-color: var(--brand, #e8550c) !important;
  box-shadow: 0 0 0 3px rgba(232, 85, 12, 0.14) !important;
  outline: none;
  background: #fff !important;
}
.account-otp-panel--page .otp-digit.filled {
  border-color: var(--brand, #e8550c) !important;
  background: #fff7ed !important;
  color: #9a3412;
}
.account-otp-panel--page .account-otp-actions {
  margin-top: 0.15rem;
}
.account-otp-panel--page .account-auth-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 3rem !important;
  border-radius: 14px !important;
  border: none !important;
  background: linear-gradient(135deg, var(--brand, #e8550c), #f5a623) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 22px rgba(232, 85, 12, 0.28) !important;
}
.account-otp-panel--page .account-auth-submit:hover,
.account-otp-panel--page .account-auth-submit:focus {
  filter: brightness(1.03);
  color: #fff !important;
}
.account-otp-panel--page .account-otp-resend {
  margin-bottom: 0.15rem;
}

/* login page heading */
.login-title{
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 12px 0;
}

.account-auth-page {
    width: 100%;
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0 32px;
}

.account-auth-page > .col-12 {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 0;
    flex: 0 0 100%;
}

.account-auth-card {
    display: block !important;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    border-radius: 0;
    border: 1px solid #e8e3de;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    background: #fff;
    padding: 0 !important;
    align-items: stretch !important;
    gap: 0 !important;
    height: auto !important;
}

.account-auth-card__inner {
    width: 100%;
    padding: 24px 20px 20px;
    box-sizing: border-box;
}

.account-auth-form,
.account-auth-form .form-floating,
.account-auth-form .login-input-wrap,
.account-auth-form #nextstep,
.account-auth-form #resultDivParsysminnerShow,
.account-auth-next-step {
    width: 100%;
    max-width: 100%;
}

.account-auth-form .form-control,
.account-auth-form .btn,
.account-auth-next-step .form-control,
.account-auth-next-step .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.account-auth-input-wrap .form-control_gray {
    width: 100%;
    min-height: 52px;
    border-radius: 0;
    border-color: #e8e3de;
    background: #faf9f8;
}

.account-auth-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.account-auth-card__badge {
    width: 48px;
    height: 48px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e4f3ef 0%, #c8e6dc 100%);
    color: #157c6a;
    font-size: 20px;
    flex-shrink: 0;
}

.account-auth-card__sub {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
}

.account-auth-input-wrap .form-control_gray:focus {
    border-color: #157c6a;
    box-shadow: 0 0 0 3px rgba(21, 124, 106, 0.12);
    background: #fff;
}

.account-auth-next-step .form-group,
.account-auth-next-step .form-floating,
.account-auth-next-step #nextstep {
    width: 100%;
    max-width: 100%;
}

#resultDivParsysminnerShow .form-control,
#resultDivParsysminnerShow .btn,
#resultDivParsysminnerShow .width-100 {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}

.account-auth-submit {
    min-height: 48px;
    border-radius: 0;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.account-auth-submit--signup,
#resultDivParsysminnerShow .account-auth-submit--signup,
.account-auth-next-step .account-auth-submit--signup {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.account-auth-submit--signup:hover,
.account-auth-submit--signup:focus {
    background: #157c6a;
    border-color: #157c6a;
    color: #fff;
}

.account-auth-rules {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 4px 0 18px;
    padding: 14px;
    border: 1px solid #ece8e4;
    background: #faf9f8;
    cursor: pointer;
    user-select: none;
}

.account-auth-rules__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.account-auth-rules__box {
    width: 22px;
    height: 22px;
    border: 2px solid #d8d3ce;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    background: #fff;
    color: transparent;
    font-size: 12px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.account-auth-rules__input:checked + .account-auth-rules__box {
    background: #157c6a;
    border-color: #157c6a;
    color: #fff;
}

.account-auth-rules__text {
    font-size: 13px;
    line-height: 1.75;
    color: #4a4a4a;
}

.account-auth-rules__link {
    display: inline-block;
    margin-top: 2px;
    color: #157c6a;
    font-weight: 700;
    text-decoration: none;
}

.account-auth-rules__link:hover {
    color: #c54f03;
    text-decoration: underline;
}

.account-auth-signup .login-input-wrap #pwd_strength_wrap {
    position: relative;
    right: auto;
    left: auto;
    margin-top: 10px;
}

.account-auth-foot {
    text-align: center;
}

.account-auth-foot .lost-link {
    font-size: 13px;
    color: #6c757d;
    text-decoration: none;
}

.account-auth-foot .lost-link:hover {
    color: #157c6a;
}

.account-auth-next-step .form-control {
    border-radius: 0;
}

.account-auth-card.membership-card,
.account-auth-card.membership-card.stepa-club,
.membership-card.account-auth-card {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    border-radius: 0 !important;
}

.account-auth-alert-wrap:empty {
    display: none;
}

/* ensure dropdown appears below input */
.login-input-wrap{
    position: relative;
}

#pwd_strength_wrap {
    font-size: 12px !important;
    border: 1px solid #a7f3d0 !important;
    background: #ecfdf5 !important;
    color: #065f46 !important;
    display: none;
    padding: 12px 14px !important;
    position: relative !important;
    right: auto !important;
    left: auto !important;
    margin-top: 10px !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06) !important;
    z-index: 5 !important;
    color-scheme: light only;
}
#passwordDescription {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
#pswd_info {
    color: #475569;
}
#pswd_info strong {
    color: #0f172a;
    font-weight: 700;
}
.account-auth-input-wrap .form-control.is-locked,
.account-auth-input-wrap .form-control[readonly] {
    background: #eef2f7 !important;
    color: #64748b !important;
    cursor: not-allowed !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    letter-spacing: .02em;
    opacity: 1 !important;
}
.account-auth-input-wrap .form-control.is-locked:focus,
.account-auth-input-wrap .form-control[readonly]:focus {
    background: #eef2f7 !important;
    color: #64748b !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
}
.account-signup-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: 0 0 1.1rem;
    position: relative;
    z-index: 2;
}
.account-signup-mobile-bar__hint {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 700;
    color: #64748b;
}
.account-signup-mobile-bar__hint i { color: #94a3b8; }
.account-signup-change-mobile {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: .28rem .7rem;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
}
.account-signup-change-mobile:hover {
    border-color: var(--brand, #e8550c);
    color: var(--brand, #e8550c);
}
.account-auth-input-wrap--locked {
    position: relative;
}
.account-auth-input-wrap--locked::after {
    content: "\f023";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset-inline-end: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: .85rem;
    pointer-events: none;
    z-index: 2;
}
.account-auth-input-wrap--locked .form-control {
    padding-inline-end: 2.2rem !important;
}
.lost-link{
    cursor: pointer;
}
/*#pwd_strength_wrap:before, #pwd_strength_wrap:after {
    content: ' ';
    height: 0;
    position: absolute;
    width: 0;
    border: 10px solid transparent; !* arrow size *!
}
#pwd_strength_wrap:before {
    border-bottom: 7px solid rgba(0, 0, 0, 0);
    border-right: 7px solid rgba(0, 0, 0, 0.1);
    border-top: 7px solid rgba(0, 0, 0, 0);
    content: "";
    display: inline-block;
    left: -18px;
    position: absolute;
    top: 10px;
}
#pwd_strength_wrap:after {
    border-bottom: 6px solid rgba(0, 0, 0, 0);
    border-right: 6px solid #fff;
    border-top: 6px solid rgba(0, 0, 0, 0);
    content: "";
    display: inline-block;
    left: -16px;
    position: absolute;
    top: 11px;
}*/
#pswd_info ul {
    list-style-type: none;
    margin: 5px 0 0;
    padding: 0;
}
#pswd_info ul li {
    background: none !important;
    padding: 0.28rem 0 !important;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: color 0.15s ease;
}
#pswd_info ul li::before {
    content: "" !important;
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    display: inline-grid !important;
    place-items: center;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    border: 1.5px solid currentColor;
    background: #fff;
}
#pswd_info ul li.invalid {
    color: #dc2626 !important;
}
#pswd_info ul li.invalid::before {
    content: "✕" !important;
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
    background: #fef2f2 !important;
}
#pswd_info ul li.valid {
    color: #16a34a !important;
}
#pswd_info ul li.valid::before {
    content: "✓" !important;
    color: #fff !important;
    border-color: #16a34a !important;
    background: #16a34a !important;
}
#passwordStrength {
    display: block;
    height: 5px;
    margin-bottom: 10px;
    transition: all 0.4s ease;
}
.strength0 {
    background: none; /* too short */
    width: 0px;
}
.strength1 {
    background: none repeat scroll 0 0 #FF4545;/* weak */
    width: 25%;
}
.strength2 {
    background: none repeat scroll 0 0 #157c6a;
    width: 50%;
}
.strength3 {
    background: none repeat scroll 0 0 #6699CC;/* strong */
    width: 75%;
}

.strength4 {
    background: none repeat scroll 0 0 #008000;/* best */
    width: 100%;
}

@media (max-width: 768px) {
    .forget_password {
        position: absolute;
        margin-top: -161px;
        width: 120px;
        margin-right: 0;
        border-right: 1px solid;
        padding-right: 7px;
    }

    .login-popup .tab {
        direction: rtl !important;
        font-size: 14px !important;
    }

    #pwd_strength_wrap {
        position: relative;
        margin-top: 10px;
        right: auto;
        left: auto;
        width: 100%;
        z-index: 5;
    }

    #pwd_strength_wrap:before, #pwd_strength_wrap:after {
        display: none;
    }
}

/* —— اخبار دلخواه من (account/mynews) —— */
.account-mynews,
.account-mynews-page {
  direction: rtl;
  text-align: right;
}
.account-mynews-count {
  font-size: 0.85rem;
  color: #6c757d;
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
}
.account-mynews-count strong {
  color: var(--brand, #157c6a);
}
.account-mynews-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1a1a1a;
  text-align: right;
}
.account-mynews-topics__head,
.account-mynews .account-header,
.account-mynews .account-title {
  text-align: right;
}
.account-mynews-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  direction: rtl;
  justify-content: flex-start;
}
.account-mynews-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #d8dde3;
  background: #fff;
  color: #334155;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
  border-radius: 0;
  font-family: inherit;
}
.account-mynews-chip__check {
  font-size: 0.7rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity .15s ease;
}
.account-mynews-chip:hover {
  border-color: var(--brand, #157c6a);
  color: var(--brand, #157c6a);
}
.account-mynews-chip.is-selected {
  background: rgba(21, 124, 106, 0.08);
  border-color: var(--brand, #157c6a);
  color: var(--brand, #157c6a);
  font-weight: 600;
}
.account-mynews-chip.is-selected .account-mynews-chip__check {
  opacity: 1;
}
.account-mynews-chip.is-loading {
  opacity: 0.65;
  pointer-events: none;
}
.account-mynews-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(21, 124, 106, 0.06);
  border: 1px solid rgba(21, 124, 106, 0.2);
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.6;
}
.account-mynews-hint i {
  color: var(--brand, #157c6a);
  margin-top: 3px;
  flex-shrink: 0;
}
.account-mynews-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #eceff2;
  border-bottom: 1px solid #eceff2;
}
.account-mynews-filters,
.account-mynews-views {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.account-mynews-filter,
.account-mynews-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.82rem;
  color: #64748b;
  text-decoration: none;
  border: 1px solid transparent;
  background: #f5f7f9;
}
.account-mynews-filter:hover,
.account-mynews-view:hover {
  color: var(--brand, #157c6a);
  text-decoration: none;
}
.account-mynews-filter.is-active,
.account-mynews-view.is-active {
  background: #fff;
  border-color: var(--brand, #157c6a);
  color: var(--brand, #157c6a);
  font-weight: 600;
}
.account-mynews-feed--list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.account-mynews-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e5e9ee;
  background: #fff;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.account-mynews-card:hover {
  border-color: rgba(21, 124, 106, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.account-mynews-card__media {
  flex: 0 0 120px;
  width: 120px;
  height: 90px;
  overflow: hidden;
  background: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-mynews-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-mynews-card__media--empty {
  color: #94a3b8;
  font-size: 1.5rem;
}
.account-mynews-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.account-mynews-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: #94a3b8;
}
.account-mynews-card__type {
  color: var(--brand, #157c6a);
  font-weight: 600;
}
.account-mynews-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.45;
}
.account-mynews-card__title a {
  color: #1e293b;
  text-decoration: none;
}
.account-mynews-card__title a:hover {
  color: var(--brand, #157c6a);
}
.account-mynews-card__cats {
  font-size: 0.78rem;
  color: #64748b;
}
.account-mynews-card__excerpt {
  font-size: 0.88rem;
  color: #64748b;
  margin: 2px 0 0;
  line-height: 1.6;
}
.account-mynews-card__more {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--brand, #157c6a);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.account-mynews-feed--titles {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e9ee;
  background: #fff;
}
.account-mynews-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #eef1f4;
  transition: background .15s ease;
}
.account-mynews-title-row:last-child {
  border-bottom: 0;
}
.account-mynews-title-row:hover {
  background: rgba(21, 124, 106, 0.04);
}
.account-mynews-title-row__bullet {
  width: 7px;
  height: 7px;
  margin-top: 7px;
  flex-shrink: 0;
  background: var(--brand, #157c6a);
  border-radius: 50%;
}
.account-mynews-title-row__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.account-mynews-title-row__text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.45;
}
.account-mynews-title-row:hover .account-mynews-title-row__text strong {
  color: var(--brand, #157c6a);
}
.account-mynews-title-row__meta {
  font-size: 0.78rem;
  color: #94a3b8;
}
.account-mynews-tabs,
.account-favorites-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.75rem;
}
.account-mynews-tab,
.account-favorites-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  color: #64748b;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.account-mynews-tab:hover,
.account-favorites-tab:hover {
  color: #0f172a;
  background: #f8fafc;
}
.account-mynews-tab.is-active,
.account-favorites-tab.is-active {
  color: #0f172a;
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.account-mynews-tab__count,
.account-favorites-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 700;
}
.account-favorites .account-fav-empty,
.account-favorites-page .account-fav-empty,
.account-content .account-fav-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.65rem;
  padding: 3rem 1rem;
  width: 100%;
}
.account-favorites .account-fav-empty i,
.account-favorites-page .account-fav-empty i,
.account-content .account-fav-empty i {
  font-size: 2.25rem;
  color: #94a3b8;
  display: block !important;
  margin: 0 auto !important;
  float: none !important;
}
.account-favorites .account-fav-empty p,
.account-favorites-page .account-fav-empty p,
.account-content .account-fav-empty p,
.account-content .account-fav-empty .text-muted {
  margin: 0 !important;
  width: 100%;
  max-width: 28rem;
  text-align: center !important;
  color: #64748b;
}
.account-favorites .account-fav-empty.d-none,
.account-favorites-page .account-fav-empty.d-none,
.account-favorites .favorites-grid.d-none,
.account-favorites-page .favorites-grid.d-none {
  display: none !important;
}
.account-mynews-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}
.account-mynews-card__fav-date {
  font-size: 0.78rem;
  color: #ef4444;
}
.account-mynews-fav-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #fecaca;
  background: #fff;
  color: #b91c1c;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.account-mynews-fav-remove:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}
.account-mynews-fav-remove.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.account-mynews-title-row--favorite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.account-mynews-title-row--favorite .account-mynews-title-row__link {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.account-mynews-fav-remove--compact {
  flex-shrink: 0;
  padding: 0.35rem 0.55rem;
}
@media (max-width: 575.98px) {
  .account-mynews-card {
    flex-direction: column;
  }
  .account-mynews-card__media {
    width: 100%;
    flex-basis: auto;
    height: 160px;
  }
  .account-mynews-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}
