/* Izlet AI Studio 1.2 — standalone, carefully scoped admin overlay */
.izai-root{--iz-bg:#090e1d;--iz-panel:#0e1527;--iz-card:#151f35;--iz-border:rgba(166,190,231,.14);--iz-text:#f0f5ff;--iz-muted:#9fb1cc;--iz-accent:#68e6c0;color:var(--iz-text);font:14px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;isolation:isolate}.izai-root *{box-sizing:border-box}.izai-root button,.izai-root input,.izai-root select,.izai-root textarea{font:inherit}.izai-root button{cursor:pointer;border:1px solid var(--iz-border);border-radius:12px;background:#202c44;color:var(--iz-text);padding:10px 15px;transition:transform .16s,background .16s,border-color .16s}.izai-root button:hover:not(:disabled){border-color:#81ead0;transform:translateY(-1px)}.izai-root button:focus-visible,.izai-root input:focus-visible,.izai-root textarea:focus-visible,.izai-root select:focus-visible{outline:2px solid #72eac9;outline-offset:2px}.izai-root button:disabled{opacity:.48;cursor:not-allowed}.izai-root .izai-primary{background:linear-gradient(135deg,#65eac1,#35bfa9);color:#062522;border-color:#70e7c9;font-weight:800;box-shadow:0 6px 18px #2dcaa526}.izai-fab{position:fixed;right:23px;bottom:22px;z-index:2147483000;border-radius:18px!important;padding:15px 21px!important;border:1px solid #7dedd3!important;background:linear-gradient(125deg,#084239,#137b70 55%,#296b94)!important;color:#fff!important;font-size:15px!important;font-weight:800!important;letter-spacing:.01em;box-shadow:0 12px 45px #031310af,0 0 0 5px #53d8b61a;backdrop-filter:blur(18px)}
.izai-panel{position:fixed;bottom:89px;right:23px;z-index:2147483001;width:min(630px,calc(100vw - 24px));height:min(805px,calc(100dvh - 110px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(139,178,231,.27);border-radius:24px;background:radial-gradient(circle at 96% -12%,#173c4a 0,transparent 43%),radial-gradient(circle at -11% 50%,#171b43 0,transparent 43%),var(--iz-bg);box-shadow:0 32px 100px #000c,0 0 0 1px #ffffff0a}.izai-panel[hidden],.izai-screen[hidden],.izai-hero[hidden]{display:none!important}.izai-header{display:flex;align-items:center;justify-content:space-between;padding:17px 21px 15px;border-bottom:1px solid var(--iz-border);background:#0d1829bd}.izai-brand{display:flex;align-items:center;gap:12px}.izai-brand-icon{width:45px;height:45px;border-radius:15px;display:grid;place-items:center;font-size:26px;font-weight:800;color:#072620;background:linear-gradient(140deg,#78f2c9,#6fc6fc);box-shadow:0 0 26px #53edca46}.izai-brand-copy{display:flex;flex-direction:column;line-height:1.3}.izai-brand-copy strong{font-size:17px;font-weight:800;letter-spacing:-.4px}.izai-brand-copy span{font-size:9px;font-weight:850;letter-spacing:2px;color:#77deca;margin-top:4px}.izai-close{border-radius:12px!important;width:39px;height:39px;padding:0!important;font-size:27px!important;background:#ffffff0a!important;color:#cfdeea!important}.izai-tabs{padding:12px 17px 10px;display:flex;gap:6px;overflow-x:auto;border-bottom:1px solid #d4e4ff0d;flex-shrink:0;scrollbar-width:thin}.izai-tabs button{white-space:nowrap;flex:1;font-size:12px;font-weight:750;border:0;border-radius:10px;background:transparent;color:#a6b7ce;padding:11px 8px;min-width:max-content}.izai-tabs button.selected{color:#b7f7e5;background:linear-gradient(150deg,#214c4f,#17354b);box-shadow:inset 0 0 0 1px #6fe9c350}.izai-main{flex:1;min-height:0;padding:16px 19px 10px;overflow:hidden;display:flex;flex-direction:column}.izai-screen{min-height:0;height:100%;display:flex;flex-direction:column;gap:14px;overflow-y:auto;scrollbar-color:#38536a transparent;scrollbar-width:thin;padding:0 3px 8px}.izai-screen h3{font-size:19px;letter-spacing:-.4px;margin:0}.izai-screen p{line-height:1.65}.izai-note{font-size:13px;color:var(--iz-muted);margin:0}.izai-status{font-size:11px;color:#a5b8cc;background:#0e192bf0;border-top:1px solid var(--iz-border);padding:10px 20px;line-height:1.5;max-height:70px;overflow:auto;flex-shrink:0}.izai-hero{padding:24px 23px 20px;border:1px solid #74d5c23b;border-radius:22px;background:radial-gradient(circle at 90% 15%,#266d7159,transparent 48%),linear-gradient(155deg,#132f3f,#121a31 67%);box-shadow:inset 0 1px #ffffff12}.izai-hero-orb{display:grid;place-items:center;width:54px;height:54px;border-radius:19px;background:linear-gradient(140deg,#65f0c4,#83bafd);color:#062721;font-size:29px;font-weight:900;box-shadow:0 6px 30px #47d6c04f;margin-bottom:17px}.izai-eyebrow{color:#7fecd5;font-size:10px;font-weight:900;letter-spacing:2.1px}.izai-hero h2,.izai-section-heading h2{font-size:25px;letter-spacing:-.75px;line-height:1.25;margin:8px 0}.izai-hero p{color:#bbcada;font-size:13px;margin:0 0 20px}.izai-chips{display:flex;flex-wrap:wrap;gap:8px}.izai-root .izai-chip{background:#102e39;color:#b8f3df;border:1px solid #5ee6bd30;font-size:11px;padding:8px 10px;border-radius:99px}.izai-log{display:flex;flex-direction:column;gap:14px;min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#38536a transparent;padding:2px 1px}.izai-message{display:flex;align-items:flex-start;gap:10px}.izai-message-user{flex-direction:row-reverse}.izai-avatar{flex-shrink:0;width:30px;height:30px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(130deg,#60e8c3,#83bdfd);color:#093125;font-weight:900}.izai-message-user .izai-avatar{background:#31415e;color:#d7e2f5}.izai-bubble{max-width:89%;padding:13px 16px;border:1px solid #789bc52b;border-radius:4px 15px 15px 15px;background:#1c2a40;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:#e8effc}.izai-user{background:#1c574f;border-color:#5ad2b34c;border-radius:15px 4px 15px 15px}.izai-compose{flex-shrink:0;padding:10px;border:1px solid #80d9c54a;border-radius:19px;background:#141e32;box-shadow:0 5px 30px #0002;display:grid;gap:9px}.izai-root textarea{width:100%;min-height:45px;resize:vertical;border:1px solid #5167826e;border-radius:12px;background:#0d1628;color:var(--iz-text);padding:12px 13px;outline:none;font-size:13px}.izai-compose textarea{min-height:58px;border:0;background:transparent;padding:5px 8px}.izai-root textarea::placeholder,.izai-root input::placeholder{color:#7d91ac}.izai-controls{display:flex;justify-content:space-between;gap:9px}.izai-mic{font-size:12px!important;background:#1c2a40!important}.izai-results{display:flex;flex-direction:column;gap:12px}.izai-item{display:grid;gap:5px;padding:15px;border:1px solid #7b9cb835;background:#162238;border-radius:15px}.izai-item strong{font-size:13px;overflow-wrap:anywhere}.izai-item small{font-size:12px;color:#a3b7ca;overflow-wrap:anywhere}.izai-item button{justify-self:start;margin-top:4px}.izai-results a{color:#7df2cd;font-weight:750}.izai-section-heading{margin:3px 0 5px}.izai-section-heading p{margin-top:8px}.izai-connection-info{font-size:12px;color:#a3dccc;padding:12px 14px;border-radius:12px;border:1px solid #4bdfb528;background:#10332e70}.izai-connection-card{border:1px solid #8faee131;padding:18px;border-radius:19px;background:linear-gradient(155deg,#1a2940,#111d32 80%);display:grid;gap:14px;box-shadow:0 6px 22px #0002}.izai-connection-title{display:flex;align-items:center;gap:11px;min-width:0}.izai-provider-logo{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(130deg,#79f2c9,#77bafb);color:#08291f;font-size:23px;font-weight:900;flex-shrink:0}.izai-oauth-logo{background:#2b3851;color:#c7d9f0}.izai-connection-title>div:nth-child(2){display:flex;flex-direction:column;flex:1;min-width:0}.izai-connection-title strong{font-size:14px}.izai-connection-title small{font-size:11px;color:#acbed1}.izai-badge{font-size:10px;font-weight:800;background:#263449;color:#a9b9ce;padding:6px 9px;border-radius:99px;white-space:nowrap}.izai-connected{color:#8bf3d4;background:#225448}.izai-pending{color:#ffd49a;background:#634b2c}.izai-form{display:grid;gap:12px}.izai-field{display:grid;gap:6px}.izai-field span{font-size:12px;font-weight:750;color:#cbd8e8}.izai-root .izai-field input,.izai-root .izai-field select{display:block;width:100%;min-height:43px;background:#0c1627;border:1px solid #5063828a;border-radius:11px;color:#ebf1ff;padding:11px 12px;font-size:13px;outline:none}.izai-root select option{background:#162238}.izai-switch{display:flex;align-items:center;gap:9px;font-size:12px;color:#cbd8e8}.izai-switch input{accent-color:#52ddb7;width:16px;height:16px}.izai-connection-actions{display:flex;flex-wrap:wrap;gap:9px}.izai-connection-actions button{font-size:12px;padding:10px 12px}.izai-danger{border-color:#ad596b69!important;background:#3d2639!important;color:#ffb6c3!important}.izai-notice{padding:12px 14px;border-left:3px solid #d6aa65;background:#684b1d30;border-radius:9px;color:#e2c9a1;font-size:12px;line-height:1.6}.izai-redirect{display:grid;gap:7px;border:1px dashed #738cab65;border-radius:12px;padding:12px;min-width:0}.izai-redirect small{color:#b2c0d4}.izai-redirect code{font-size:11px;color:#b1f3e1;overflow-wrap:anywhere;user-select:all}.izai-redirect button{justify-self:start;font-size:11px;padding:6px 10px}.izai-result{color:#aaf1d5;font-size:12px;margin:0;min-height:1em;overflow-wrap:anywhere}
@media(max-width:700px){.izai-fab{bottom:13px;right:12px;padding:12px 16px!important}.izai-panel{right:8px;bottom:69px;width:calc(100vw - 16px);height:min(790px,calc(100dvh - 80px));border-radius:20px}.izai-main{padding:12px 12px 8px}.izai-header{padding:13px 14px}.izai-tabs{padding:9px 10px}.izai-tabs button{font-size:11px}.izai-hero{padding:17px}.izai-hero h2,.izai-section-heading h2{font-size:22px}.izai-connection-card{padding:13px}.izai-badge{font-size:9px}}
@media(prefers-reduced-motion:reduce){.izai-root button{transition:none}}

:root{
  --izlet-ai-top-offset: 86px;
  --izlet-ai-right-offset: 24px;
  --izlet-ai-bottom-offset: 24px;
}

.izlet-ai-window,
.izlet-ai-panel,
.izlet-ai-modal {
  position: fixed !important;
  top: var(--izlet-ai-top-offset) !important;
  right: var(--izlet-ai-right-offset) !important;
  left: auto !important;
  bottom: auto !important;
  width: min(590px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100vh - var(--izlet-ai-top-offset) - var(--izlet-ai-bottom-offset)) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  z-index: 99999 !important;
}

.izlet-ai-window .izlet-ai-body,
.izlet-ai-panel .izlet-ai-body,
.izlet-ai-modal .izlet-ai-body {
  max-height: calc(100vh - var(--izlet-ai-top-offset) - var(--izlet-ai-bottom-offset) - 72px) !important;
  overflow-y: auto !important;
}

.izlet-ai-launcher,
.izlet-ai-fab,
.izlet-ai-toggle {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 99998 !important;
}

@media (max-width: 768px){
  :root{
    --izlet-ai-top-offset: 72px;
    --izlet-ai-right-offset: 12px;
    --izlet-ai-bottom-offset: 12px;
  }

  .izlet-ai-window,
  .izlet-ai-panel,
  .izlet-ai-modal {
    top: var(--izlet-ai-top-offset) !important;
    right: 12px !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - var(--izlet-ai-top-offset) - 12px) !important;
    border-radius: 18px !important;
  }
}


/* IZLET AI PANEL POSITION FIX V2 START */

/* Masaustu: pencere ust menunun altinda acilsin */
.izai-root .izai-panel {
    position: fixed !important;
    top: 76px !important;
    bottom: auto !important;
    right: 23px !important;
    left: auto !important;

    width: min(630px, calc(100vw - 30px)) !important;
    height: min(760px, calc(100dvh - 170px)) !important;
    max-height: calc(100dvh - 170px) !important;
    min-height: 0 !important;

    transform: none !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
}

/* Panel kapatildiginda gizli kalsin */
.izai-root .izai-panel[hidden] {
    display: none !important;
}

/* Mobil ve tablet */
@media (max-width: 768px) {
    .izai-root .izai-panel {
        top: 68px !important;
        bottom: auto !important;
        left: 12px !important;
        right: 12px !important;

        width: calc(100vw - 24px) !important;
        height: calc(100dvh - 148px) !important;
        max-height: calc(100dvh - 148px) !important;

        border-radius: 18px !important;
    }
}

/* IZLET AI PANEL POSITION FIX V2 END */
