/* Asaan Tech free tools — account panel and popup (account.js). Prefixed .aa- so it fits any tool page. */
.aa-panel { font: 13px/1.45 "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: #17212b; }
.aa-panel *, .aa-dlg * { box-sizing: border-box; }
.aa-intro { margin: 0 0 10px; color: #66727f; font-size: 12.5px; }
.aa-tabs { display: inline-flex; background: #eef2f5; border-radius: 8px; padding: 3px; gap: 2px; margin-bottom: 12px; }
.aa-tabs button {
  border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 12.5px; color: #66727f;
  padding: 6px 12px; border-radius: 6px; cursor: pointer;
}
.aa-tabs button[aria-selected="true"] { background: #fff; color: #0E7A46; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.aa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 12px; }
.aa-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.aa-field > span:first-child { font-weight: 600; font-size: 12px; }
.aa-field input {
  font: inherit; color: #17212b; border: 1px solid #dde3e9; border-radius: 6px; padding: 7px 9px; background: #fff; width: 100%;
}
.aa-field input:focus { outline: 2px solid #7fb89a; outline-offset: 1px; }
.aa-pwd { position: relative; display: block; }
.aa-pwd input { padding-right: 52px; }
.aa-pwd .aa-link { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 12px; }
.aa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; }
.aa-note { color: #66727f; font-size: 12px; }
.aa-btn {
  font: inherit; border: 1px solid #dde3e9; background: #fff; color: #17212b; padding: 7px 14px;
  border-radius: 6px; cursor: pointer; white-space: nowrap;
}
.aa-btn:hover:not(:disabled) { border-color: #b8c2cc; background: #fafbfc; }
.aa-btn:disabled { opacity: .55; cursor: default; }
.aa-btn.primary { background: #0E7A46; border-color: #0E7A46; color: #fff; font-weight: 600; }
.aa-btn.primary:hover:not(:disabled) { background: #0B6339; }
.aa-btn.danger { background: #c53030; border-color: #c53030; color: #fff; font-weight: 600; }
.aa-link { border: 0; background: none; padding: 0; font: inherit; color: #0E7A46; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.aa-link.danger { color: #c53030; }
.aa-state { border-radius: 6px; padding: 9px 11px; font-size: 12.5px; border: 1px solid; }
.aa-state.ok { background: #e7f5ec; border-color: #bfe3cc; }
.aa-state.warn { background: #fff6e5; border-color: #f3dcae; }
.aa-state.danger { background: #fdecec; border-color: #f5c2c2; margin-bottom: 10px; }
.aa-msg { margin-top: 8px; font-size: 12.5px; min-height: 1em; }
.aa-msg:empty { display: none; }
.aa-msg.ok { color: #1f8a4c; }
.aa-msg.error { color: #c53030; }
.aa-msg.info { color: #66727f; }

.aa-dlg {
  border: 0; border-radius: 12px; padding: 0; width: min(560px, 94vw); box-shadow: 0 20px 60px rgba(0,0,0,.3);
  font: 13px/1.45 "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: #17212b;
}
.aa-dlg::backdrop { background: rgba(15, 25, 35, .45); }
.aa-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; }
.aa-head h2 { margin: 0; font: inherit; font-size: 17px; font-weight: 700; letter-spacing: 0; }
.aa-x { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: #66727f; padding: 0 4px; }
.aa-body { padding: 12px 20px 20px; }
