.wtpt-shell,
.wtpt-admin { font-family: Vazirmatn, IRANSans, Tahoma, sans-serif; box-sizing: border-box; color: #15304d; }
.wtpt-shell * , .wtpt-admin * { box-sizing: border-box; }
.wtpt-shell { min-height: 70vh; background: radial-gradient(circle at 15% 5%, #d5f6ff, transparent 35%), linear-gradient(145deg, #eef8ff, #f6faff); padding: 36px 16px; display: flex; justify-content: center; align-items: flex-start; }
.wtpt-box { background: #fff; border: 1px solid #dbe8f1; box-shadow: 0 20px 70px #0d305119; border-radius: 28px; padding: 36px; width: 100%; max-width: 560px; text-align: center; }
.wtpt-icon { width: 70px; height: 70px; display: grid; place-items: center; background: linear-gradient(130deg,#063875,#03bbdd); border-radius: 22px; color: #fff; font-size: 42px; margin: 0 auto 16px; }
.wtpt-eyebrow { font: 700 10px Arial, sans-serif; letter-spacing: 2px; color: #039abf; }
.wtpt-box h2 { margin: 12px 0 10px; color: #0c315a; font-size: 25px; line-height: 1.6; }
.wtpt-box p { color: #607c90; line-height: 1.9; margin: 0 0 20px; font-size: 14px; }
.wtpt-drop { min-height: 170px; border: 2px dashed #66d1e4; border-radius: 20px; background: #f1fbff; display: flex; justify-content: center; align-items: center; flex-direction: column; cursor: pointer; padding: 18px; gap: 8px; transition: .2s; }
.wtpt-drop:hover,.wtpt-drop:focus-within { background: #e5f9ff; border-color: #0489c0; }
.wtpt-drop-emoji { font-size: 34px; }
.wtpt-drop strong { font-size: 18px; color: #03497c; }
.wtpt-drop small { font-size: 12px; color: #7292a5; }
#wtpt-files { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wtpt-btn { border: 0; border-radius: 13px; display: inline-flex; justify-content: center; align-items: center; padding: 13px 18px; font: 700 15px Tahoma, sans-serif; cursor: pointer; text-decoration: none; background: #e4f6ff; color: #06446a; }
.wtpt-btn.wtpt-main { display: flex; background: linear-gradient(110deg,#005ea2,#03b8d2); color: #fff; width: 100%; margin-top: 18px; min-height: 50px; }
.wtpt-btn.wtpt-main:disabled { opacity: .48; cursor: not-allowed; }
.wtpt-btn.wtpt-cancel { width: 100%; margin-top: 8px; background: #ffebeb; color: #a62636; }
.wtpt-selected { text-align: right; margin-top: 12px; max-height: 200px; overflow-y: auto; }
.wtpt-file { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-bottom: 1px solid #e9f0f6; color: #2e4f6a; font-size: 12px; }
.wtpt-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: auto; }
.wtpt-file small { flex: none; color: #7c92a3; }
.wtpt-progress-wrap { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.wtpt-progress { flex: 1; height: 10px; border-radius: 99px; background: #e4eff4; overflow: hidden; }
#wtpt-progress-bar { display: block; width: 0; height: 100%; background: #04b6c8; border-radius: inherit; transition: width .2s; }
#wtpt-progress-text { flex: none; font-size: 12px; color: #31718a; }
.wtpt-message { min-height: 28px; font-size: 13px; color: #0c8c77; margin-top: 12px; line-height: 1.8; }
.wtpt-message.wtpt-is-error { color: #bb2642; }
.wtpt-box p.wtpt-note { font-size: 11px; color: #849aaa; margin: 14px 0 0; }
.wtpt-alert { color: #bd263e; }
.wtpt-standalone { margin: 0; min-height: 100vh; background: #eef8ff; }
.wtpt-standalone .wtpt-shell { min-height: 100vh; padding-top: max(26px, 7vh); }
.wtpt-login-form { display: grid; gap: 8px; text-align: right; }
.wtpt-login-form label { font-size: 13px; color: #315571; font-weight: 700; margin-top: 8px; }
.wtpt-login-form input { width: 100%; min-height: 50px; border-radius: 13px; border: 1px solid #d1e2ef; background: #f8fcff; padding: 12px 14px; font-size: 16px; direction: ltr; text-align: left; color: #173b5b; }
.wtpt-login-form input:focus { border-color: #01a5c6; outline: 3px solid #d5f4f9; }
.wtpt-login-form .wtpt-main { margin-top: 16px; }
.wtpt-login-error { border-radius: 10px; padding: 11px; margin: 15px 0; background: #fff0f2; color: #a12742; font-size: 13px; }
.wtpt-mobile-user { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 0 17px; margin-bottom: 22px; border-bottom: 1px solid #e3edf3; font-size: 12px; color: #648298; }
.wtpt-mobile-user a { text-decoration: none; color: #a83b55; font-weight: 700; }
.wtpt-admin { max-width: 1420px; margin: 20px 0 30px; }
.wtpt-heading { background: linear-gradient(120deg,#0c2e5a,#075e91); color: white; padding: 26px 30px; border-radius: 20px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.wtpt-heading h1 { color: #fff; font-weight: 750; font-size: 25px; margin: 8px 0; }
.wtpt-heading p { margin: 0; color: #d1edf5; }
.wtpt-heading .wtpt-eyebrow { color: #74e9ff; }
.wtpt-tag { font-size: 12px; background: #ffffff20; border: 1px solid #ffffff30; padding: 9px 12px; border-radius: 25px; white-space: nowrap; }
.wtpt-summary { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 16px; margin: 20px 0; }
.wtpt-stat { border: 1px solid #dfe9f2; background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 3px 10px #0d305108; display: flex; flex-direction: column; gap: 10px; }
.wtpt-stat span { color: #678093; }
.wtpt-stat strong { font-size: 26px; color: #123b65; }
.wtpt-stat-link a { font-weight: 700; font-size: 14px; text-decoration: none; }
.wtpt-stat-link .button { align-self: flex-start; }
.wtpt-instruction { padding: 14px 18px; border-right: 4px solid #06b4d2; background: #eaf9fd; line-height: 2; border-radius: 7px; }
.wtpt-credentials { display: grid; grid-template-columns: 1fr 1.35fr; gap: 22px; align-items: center; padding: 23px; border: 1px solid #d3e6ef; border-radius: 18px; background: #fff; margin-top: 18px; }
.wtpt-credentials h2 { font-size: 19px; margin: 9px 0; color: #0a426a; }
.wtpt-credentials p { color: #607c90; line-height: 1.9; margin: 0 0 8px; }
.wtpt-credentials .wtpt-credential-hint { color: #0e8b8a; font-size: 12px; font-weight: 700; }
.wtpt-credentials-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.wtpt-credentials-form label { display: grid; gap: 6px; color: #365d75; font-weight: 700; }
.wtpt-credentials-form label span { color: #7c96a6; font-size: 11px; font-weight: 400; }
.wtpt-credentials-form input { width: 100%; min-height: 40px; direction: ltr; text-align: left; }
.wtpt-credentials-form button { grid-column: 1 / -1; justify-self: start; min-height: 38px; }
.wtpt-filter { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 26px 0 17px; }
.wtpt-filter strong { font-size: 18px; }
.wtpt-filter div { display: flex; gap: 8px; }
.wtpt-filter a { text-decoration: none; border: 1px solid #d7e7f2; border-radius: 50px; color: #426883; background: #fff; padding: 8px 15px; }
.wtpt-filter a.active { background: #0c70a0; color: white; border-color: #0c70a0; }
.wtpt-empty { background: #fff; padding: 60px 15px; border-radius: 18px; text-align: center; border: 1px dashed #b8cfdf; color: #7793a7; }
.wtpt-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.wtpt-card { background: #fff; border: 1px solid #dfe9f1; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 25px #15304d0a; min-width: 0; }
.wtpt-media { position: relative; background: #e5f1f6; height: 230px; display: flex; align-items: center; justify-content: center; }
.wtpt-media a { display: block; width: 100%; height: 100%; }
.wtpt-media img,.wtpt-media video { height: 100%; width: 100%; display: block; object-fit: contain; }
.wtpt-type { position: absolute; top: 12px; right: 12px; padding: 5px 11px; background: #063d6cdd; color: #fff; border-radius: 20px; font-size: 11px; pointer-events: none; }
.wtpt-card-content { padding: 17px; }
.wtpt-card-content > strong { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: auto; text-align: right; }
.wtpt-meta { display: flex; justify-content: space-between; gap: 10px; color: #7c95a5; font-size: 11px; margin: 14px 0; }
.wtpt-actions { display: grid; gap: 13px; }
.wtpt-actions .button-primary { text-align: center; padding: 4px 10px; }
.wtpt-delete-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; border-top: 1px solid #eef2f6; padding-top: 12px; }
.wtpt-delete-form label { display: flex; gap: 6px; align-items: center; line-height: 1.7; font-size: 11px; color: #617b8d; }
.wtpt-delete-form input { margin: 0; }
.wtpt-delete-form .wtpt-danger { color: #b4233c; border-color: #ffbbcb; }
.wtpt-delete-form .wtpt-danger:hover { border-color: #b4233c; color: #b4233c; }
.wtpt-pagination { display: flex; justify-content: center; gap: 7px; margin: 25px; }
.wtpt-pagination a,.wtpt-pagination span { display: inline-block; padding: 7px 12px; background: white; border: 1px solid #dce8f2; border-radius: 8px; text-decoration: none; }
.wtpt-privacy { font-size: 12px; color: #7893a2; margin-top: 25px; }
@media (max-width: 1100px) { .wtpt-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 720px) {
  .wtpt-box { padding: 25px 18px; border-radius: 20px; }
  .wtpt-box h2 { font-size: 20px; }
  .wtpt-admin { margin-right: 0; }
  .wtpt-heading { padding: 20px; flex-direction: column; align-items: flex-start; }
  .wtpt-heading h1 { font-size: 21px; }
  .wtpt-credentials { grid-template-columns: 1fr; padding: 18px; }
  .wtpt-credentials-form { grid-template-columns: 1fr; }
  .wtpt-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wtpt-stat-link { grid-column: 1 / -1; }
  .wtpt-grid { grid-template-columns: minmax(0,1fr); }
  .wtpt-media { height: 240px; }
  .wtpt-filter { align-items: flex-start; flex-direction: column; }
  .wtpt-filter a { padding: 6px 12px; }
}
