:root {
  --night: #071523;
  --navy: #0b2238;
  --navy-2: #102e47;
  --aqua: #4ee4df;
  --blue: #46a8ff;
  --mist: #d7e5ee;
  --muted: #8fa7ba;
  --paper: #f5f7fa;
  --white: #fff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  min-width: 320px;
  margin: 0;
  color: var(--night);
  background:
    radial-gradient(circle at 90% -5%, #77e6ef45, transparent 25%), #eef3f6;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
#login-view[hidden],
#dashboard[hidden] {
  display: none !important;
}
.login-page {
  min-height: 100vh;
  padding: clamp(22px, 6vw, 90px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: clamp(35px, 9vw, 160px);
  overflow: hidden;
  position: relative;
  background: linear-gradient(125deg, #081927 0 58%, #dff7f6 58%);
}
.login-page:before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  left: -180px;
  bottom: -300px;
  border: 1px solid #4ee4df33;
  border-radius: 50%;
  box-shadow:
    0 0 0 70px #4ee4df08,
    0 0 0 140px #4ee4df06;
}
.login-page:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 44%,
    #ffffff12 44% 44.2%,
    transparent 44.2%
  );
  pointer-events: none;
}
.login-brand {
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #7ff4ef66;
  border-radius: 15px;
  background: linear-gradient(145deg, #4ee4df, #3197e7);
  box-shadow: 0 14px 30px #0005;
  color: #062038;
  font:
    700 1.35rem Georgia,
    serif;
}
.login-brand b,
.sidebar-brand b {
  display: block;
  font:
    700 1.6rem Georgia,
    serif;
  letter-spacing: -0.06em;
}
.login-brand small,
.sidebar-brand small {
  display: block;
  margin-top: 2px;
  color: inherit;
  opacity: 0.68;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.23em;
}
.login-page:has(.login-card) .login-brand:after {
  content: "MARINA\A CONTENT STUDIO";
  white-space: pre-line;
  position: absolute;
  left: 0;
  top: 150px;
  font:
    600 clamp(3rem, 7vw, 6.5rem)/0.83 Georgia,
    serif;
  letter-spacing: -0.08em;
  color: #f5fbff;
}
.login-card {
  z-index: 1;
  width: min(430px, 100%);
  justify-self: end;
  padding: 42px;
  border: 1px solid #ffffffaa;
  border-radius: 26px;
  background: #ffffffeb;
  box-shadow: 0 34px 80px #02132355;
  backdrop-filter: blur(16px);
}
.eyebrow {
  margin: 0 0 10px;
  color: #0b999c;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.login-card h1,
.topbar h1,
.section-heading h2,
.quick-actions h2 {
  margin: 0;
  font:
    600 2.15rem/1 Georgia,
    serif;
  letter-spacing: -0.06em;
}
.login-card > p:not(.eyebrow) {
  margin: 14px 0 27px;
  color: #607687;
  line-height: 1.6;
  font-size: 0.86rem;
}
.login-card label,
.form-grid label {
  display: grid;
  gap: 7px;
  color: #36536a;
  font-size: 0.73rem;
  font-weight: 850;
}
.login-card label + label {
  margin-top: 14px;
}
.login-card input,
.form-grid input,
.form-grid textarea,
.service-edit-fields input,
.service-edit-fields textarea {
  width: 100%;
  border: 1px solid #dbe5eb;
  border-radius: 10px;
  outline: 0;
  padding: 12px;
  background: #fbfdff;
  color: #102d45;
  transition: 0.2s;
}
.login-card input:focus,
.form-grid input:focus,
.form-grid textarea:focus,
.service-edit-fields input:focus,
.service-edit-fields textarea:focus {
  border-color: #45cfd0;
  box-shadow: 0 0 0 4px #4ee4df22;
}
.login-card button,
.save-bar button {
  width: 100%;
  margin-top: 22px;
  padding: 14px 17px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(110deg, #0b2842, #128789);
  box-shadow: 0 13px 23px #07335433;
  color: #fff;
  font-weight: 850;
}
.login-card button:hover,
.save-bar button:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}
.notice {
  min-height: 1.1em;
  margin: 13px 0 0;
  color: #be3f48;
  font-size: 0.75rem;
}
.admin-app {
  min-height: 100vh;
  padding: 18px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  background:
    radial-gradient(circle at 87% 0, #72e4e938, transparent 25%), var(--paper);
}
.sidebar {
  position: sticky;
  top: 18px;
  height: calc(100vh - 36px);
  padding: 22px 13px 15px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #1a4058;
  background: linear-gradient(165deg, #0c2941, #071928);
  border-radius: 24px;
  box-shadow: 0 20px 50px #041a2b2b;
  color: #d5e8f1;
}
.sidebar:after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -90px;
  bottom: 50px;
  border: 1px solid #54e6e255;
  border-radius: 50%;
  box-shadow: 0 0 0 25px #4ee4df09;
}
.sidebar > * {
  z-index: 1;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 31px;
  color: #fff;
  text-decoration: none;
}
.admin-nav {
  display: grid;
  gap: 5px;
}
.admin-nav:before {
  content: "YÖNETİM MENÜSÜ";
  padding: 0 11px 10px;
  color: #7ea0b7;
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.admin-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #bcd0dc;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 750;
  transition: 0.2s;
}
.admin-nav button span {
  width: 18px;
  color: #50e1dd;
  text-align: center;
}
.admin-nav button:hover {
  background: #ffffff0d;
  color: #fff;
}
.admin-nav button.active {
  background: linear-gradient(100deg, #39cfd0, #198bc7);
  box-shadow: 0 10px 20px #0004;
  color: #062439;
}
.admin-nav button.active span {
  color: #062439;
}
.sidebar-bottom {
  z-index: 2;
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 14px 5px 0;
  border-top: 1px solid #ffffff17;
}
.sidebar-bottom a,
.sidebar-bottom button {
  border: 0;
  padding: 9px 6px;
  background: transparent;
  color: #b7cedb;
  text-align: left;
  text-decoration: none;
  font-size: 0.71rem;
}
.sidebar-bottom button {
  color: #efabb0;
}
.admin-main {
  min-width: 0;
  padding: 0 clamp(5px, 2vw, 28px) 78px;
}
.topbar {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.breadcrumb {
  margin: 0 0 7px;
  color: #8299aa;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.breadcrumb span {
  color: #0b9ea6;
}
.topbar h1 {
  font-size: 2rem;
}
.account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid #d9e4ea;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 20px #0a24320a;
}
.account b {
  display: block;
  font-size: 0.73rem;
}
.account small {
  display: block;
  margin-top: 2px;
  color: #829aa9;
  font-size: 0.61rem;
}
.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #43d5a0;
  box-shadow: 0 0 0 4px #43d5a021;
}
.avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: #e0fafa;
  color: #087f91;
  font-size: 0.7rem;
  font-weight: 900;
}
.menu-toggle {
  display: none;
}
.status {
  min-height: 1.2em;
  margin: 0 0 11px;
  color: #bf4b53;
  font-size: 0.78rem;
}
.status.ok {
  color: #0d936d;
}
.admin-panel {
  display: none;
}
.admin-panel.active {
  display: block;
}
.intro-card {
  position: relative;
  min-height: 276px;
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(120deg, #08243b, #12435e 58%, #168b90);
  box-shadow: 0 24px 46px #06264024;
  color: #fff;
}
.intro-card:before {
  content: "";
  position: absolute;
  width: 370px;
  height: 370px;
  right: -90px;
  bottom: -200px;
  border: 1px solid #a7ffff55;
  border-radius: 50%;
  box-shadow:
    0 0 0 45px #ffffff0c,
    0 0 0 90px #ffffff08;
}
.intro-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #00172e44, transparent);
}
.intro-card > * {
  z-index: 1;
}
.intro-card .eyebrow {
  color: #8cffff;
}
.intro-card h2 {
  margin: 0;
  max-width: 570px;
  font:
    600 clamp(2.4rem, 4vw, 4rem)/0.91 Georgia,
    serif;
  letter-spacing: -0.07em;
}
.intro-card p:not(.eyebrow) {
  max-width: 470px;
  margin: 16px 0 0;
  color: #d4edf1;
  line-height: 1.65;
  font-size: 0.86rem;
}
.intro-orb {
  display: grid;
  place-items: center;
  width: 85px;
  height: 85px;
  border: 1px solid #a4ffff66;
  border-radius: 50%;
  background: #ffffff14;
  color: #94ffff;
  font-size: 2rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 15px;
}
.stats article,
.quick-actions,
.admin-panel:not(#overview) {
  border: 1px solid #dce6eb;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 28px #071e2c0a;
}
.stats article {
  padding: 19px;
}
.stats article > span {
  float: right;
  color: #10a5ab;
}
.stats small {
  display: block;
  color: #8199a7;
  font-size: 0.62rem;
  font-weight: 900;
}
.stats b {
  display: block;
  margin: 9px 0 4px;
  font:
    600 1.45rem Georgia,
    serif;
}
.stats p {
  margin: 0;
  color: #6f8798;
  font-size: 0.69rem;
}
.quick-actions {
  margin-top: 15px;
  padding: 25px;
}
.quick-actions h2 {
  font-size: 1.45rem;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 18px;
}
.action-grid button {
  padding: 17px;
  border: 1px solid #e0eaf0;
  border-radius: 12px;
  background: #f9fcfd;
  color: #1a405c;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 850;
  transition: 0.2s;
}
.action-grid button:hover {
  border-color: #61d7d7;
  background: #ecfbfa;
  transform: translateY(-2px);
}
.action-grid span {
  float: right;
  color: #0798a2;
  font-size: 1.1rem;
}
.admin-panel:not(#overview) {
  margin-top: 10px;
  padding: 31px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 23px;
  border-bottom: 1px solid #e5edf1;
}
.section-heading h2 {
  font-size: 1.75rem;
}
.section-heading p:not(.eyebrow) {
  margin: 8px 0 0;
  color: #708897;
  font-size: 0.82rem;
}
.panel-icon {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e3fbfa, #e4f0ff);
  color: #078d9b;
  font-size: 1.22rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.form-grid label.wide {
  grid-column: 1/-1;
}
.form-grid textarea {
  min-height: 110px;
  resize: vertical;
}
.form-grid small {
  color: #8b9ca6;
  font-size: 0.65rem;
  font-weight: 500;
}
.media-library-heading {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #d9ebee;
  border-radius: 14px;
  background: linear-gradient(100deg, #f2fcfc, #f7fbff);
}
.media-library-heading h3 {
  margin: 0;
  font:
    600 1.35rem Georgia,
    serif;
}
.media-library-heading p:not(.eyebrow) {
  margin: 7px 0 0;
  color: #718997;
  font-size: 0.79rem;
}
.media-fields {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.media-group-panel {
  overflow: hidden;
  border: 1px solid #dbe6eb;
  border-radius: 15px;
  background: #fff;
}
.media-group-panel > summary,
.service-edit-card > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  color: #173e59;
}
.media-group-panel > summary::-webkit-details-marker,
.service-edit-card > summary::-webkit-details-marker {
  display: none;
}
.media-group-panel > summary > span {
  font-size: 0.79rem;
  font-weight: 900;
}
.media-group-panel > summary small {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 30px;
  background: #e7faf9;
  color: #078c98;
  font-size: 0.57rem;
  font-weight: 900;
}
.media-group-panel > summary i,
.service-edit-card > summary i {
  color: #0c9da4;
  font-style: normal;
  transition: 0.2s;
}
.media-group-panel[open] > summary,
.service-edit-card[open] > summary {
  border-bottom: 1px solid #e5edf1;
}
.media-group-panel[open] > summary i,
.service-edit-card[open] > summary i {
  transform: rotate(180deg);
}
.media-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 13px;
  background: #f7fafc;
}
.media-item {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbe7eb;
  border-radius: 13px;
  background: #fff;
}
.media-item-heading {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin-bottom: 9px;
}
.media-item-heading strong {
  font-size: 0.73rem;
  line-height: 1.3;
}
.media-item-heading small {
  height: max-content;
  padding: 4px 6px;
  border-radius: 20px;
  background: #e9fbfa;
  color: #078891;
  font-size: 0.5rem;
  font-weight: 900;
}
.direct-media-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.media-preview {
  position: relative;
  grid-column: 1/-1;
  width: 100%;
  height: 132px;
  overflow: hidden;
  border: 1px solid #d8e6ea;
  border-radius: 9px;
  background: #edf5f7;
}
.media-preview > img,
.media-preview > video,
.media-preview > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-preview > [hidden] {
  display: none !important;
}
.media-video-card,
.media-image-card {
  display: grid;
  place-items: center;
  padding: 8px;
  background: linear-gradient(135deg, #092740, #148b93);
  color: #e9ffff;
  text-align: center;
  font-size: 0.63rem;
  font-weight: 800;
}
.media-current {
  grid-column: 1/-1;
  overflow: hidden;
  margin: 0;
  padding: 7px;
  border-radius: 7px;
  background: #f0f6f8;
  color: #627f8f;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.63rem;
}
.media-upload {
  display: none;
}
.choose-media,
.remove-media {
  border: 1px solid #c4e8e8;
  border-radius: 8px;
  padding: 9px 5px;
  background: #effcfc;
  color: #087f89;
  font-size: 0.64rem;
  font-weight: 900;
}
.remove-media {
  border-color: #f1d6d8;
  background: #fff7f7;
  color: #b65b64;
}
.service-editor {
  display: grid;
  gap: 9px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e5edf1;
}
.service-edit-card {
  overflow: hidden;
  border: 1px solid #dbe7eb;
  border-radius: 13px;
  background: #fff;
}
.service-edit-card > summary {
  min-height: 57px;
}
.service-edit-card > summary > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: #e7faf9;
  color: #078c98;
  font-size: 0.64rem;
  font-weight: 900;
}
.service-edit-card > summary b {
  font-size: 0.78rem;
}
.service-edit-card > summary i {
  margin-left: auto;
}
.service-edit-fields {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 14px;
  padding: 16px 18px;
  background: #f8fbfc;
}
.service-edit-fields label {
  display: grid;
  gap: 7px;
  color: #31576e;
  font-size: 0.69rem;
  font-weight: 850;
}
.save-bar {
  position: sticky;
  bottom: 16px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 14px 16px 14px 19px;
  border: 1px solid #2b6179;
  border-radius: 15px;
  background: linear-gradient(110deg, #0a243b, #103c55);
  box-shadow: 0 18px 34px #08274044;
  color: #fff;
}
.save-bar b {
  display: block;
  font-size: 0.8rem;
}
.save-bar span {
  display: block;
  margin-top: 3px;
  color: #a9c9d3;
  font-size: 0.67rem;
}
.save-bar button {
  width: auto;
  margin: 0;
  background: linear-gradient(100deg, #4ee4df, #54b7ee);
  color: #062339;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .media-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .login-page {
    grid-template-columns: 1fr;
    padding: 28px;
    background: linear-gradient(160deg, #081927 0 45%, #dff7f6 45%);
  }
  .login-page:has(.login-card) .login-brand:after {
    display: none;
  }
  .login-card {
    justify-self: center;
    margin-top: 65px;
  }
  .admin-app {
    display: block;
    padding: 10px;
  }
  .sidebar {
    position: fixed;
    z-index: 20;
    top: 10px;
    left: 10px;
    width: 250px;
    height: calc(100vh - 20px);
    transform: translateX(-110%);
    transition: 0.25s;
  }
  .sidebar.open {
    transform: none;
  }
  .admin-main {
    padding: 0 5px 70px;
  }
  .topbar {
    min-height: 84px;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 0;
    border-radius: 10px;
    background: #102e47;
    color: #fff;
    font-size: 1.1rem;
  }
  .stats,
  .action-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-panel:not(#overview),
  .quick-actions {
    padding: 21px;
  }
  .save-bar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }
  .save-bar button {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .login-card {
    padding: 29px 23px;
  }
  .topbar h1 {
    font-size: 1.45rem;
  }
  .account div {
    display: none;
  }
  .intro-card {
    min-height: 220px;
  }
  .intro-orb {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }
  .media-group-grid,
  .service-edit-fields {
    grid-template-columns: 1fr;
    padding: 11px;
  }
  .media-preview {
    height: 150px;
  }
  .section-heading h2 {
    font-size: 1.45rem;
  }
}
/* New workspace architecture: command deck + editorial canvas */
.admin-app {
  display: block;
  max-width: 1560px;
  margin: 0 auto;
  padding: 20px 28px 48px;
}
.sidebar {
  position: relative;
  top: auto;
  width: 100%;
  height: auto;
  min-height: 78px;
  padding: 10px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  overflow: visible;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(100deg, #061827, #0b2b40 60%, #103f57);
  box-shadow: 0 18px 36px #061b2d25;
}
.sidebar:after {
  display: none;
}
.sidebar-brand {
  flex: none;
  padding: 0 13px 0 4px;
  border-right: 1px solid #ffffff1e;
}
.sidebar-brand .brand-mark {
  width: 37px;
  height: 37px;
  border-radius: 12px;
  font-size: 1.1rem;
}
.sidebar-brand b {
  font-size: 1.3rem;
}
.admin-nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 5px;
}
.admin-nav:before {
  display: none;
}
.admin-nav button {
  width: auto;
  flex: 1;
  justify-content: center;
  padding: 11px 9px;
  border-radius: 10px;
  font-size: 0.68rem;
}
.admin-nav button span {
  display: none;
}
.sidebar-bottom {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 0;
}
.sidebar-bottom a,
.sidebar-bottom button {
  padding: 9px 10px;
  white-space: nowrap;
  font-size: 0.66rem;
}
.admin-main {
  padding: 0;
}
.topbar {
  min-height: 142px;
  align-items: flex-end;
  padding: 0 5px 27px;
  border-bottom: 1px solid #d9e5ea;
}
.topbar:before {
  content: "MARINA / CONTENT OPERATIONS";
  position: absolute;
  align-self: flex-start;
  margin-top: 31px;
  color: #109fa6;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}
.breadcrumb {
  display: none;
}
.topbar h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -0.075em;
}
.account {
  margin-bottom: 4px;
  border-radius: 30px;
  padding: 8px 14px;
}
.intro-card {
  min-height: 330px;
  margin-top: 22px;
  border-radius: 28px;
  background: linear-gradient(118deg, #071827, #123956 52%, #126d77);
}
.intro-card h2 {
  max-width: 680px;
  font-size: clamp(3rem, 5vw, 5rem);
}
.intro-card p:not(.eyebrow) {
  font-size: 0.96rem;
}
.intro-orb {
  width: 110px;
  height: 110px;
  background: #4ee4df1a;
  font-size: 2.7rem;
}
.stats {
  grid-template-columns: 1.3fr 1fr 1fr;
  margin-top: 18px;
}
.stats article {
  position: relative;
  min-height: 145px;
  padding: 24px;
  border-radius: 18px;
}
.stats article:first-child {
  background: linear-gradient(135deg, #102f47, #185e72);
  color: #fff;
}
.stats article:first-child b,
.stats article:first-child small,
.stats article:first-child p {
  color: inherit;
}
.stats article:first-child p {
  opacity: 0.72;
}
.quick-actions {
  padding: 30px;
  border-radius: 20px;
}
.action-grid {
  grid-template-columns: 1fr 1fr 1fr;
}
.action-grid button {
  min-height: 92px;
  padding: 21px;
  border-radius: 14px;
}
.admin-panel:not(#overview) {
  margin-top: 24px;
  padding: clamp(22px, 3vw, 46px);
  border-radius: 23px;
}
.section-heading {
  align-items: flex-start;
}
.section-heading h2 {
  font-size: 2.2rem;
}
.form-grid {
  max-width: 1050px;
  gap: 22px;
}
.media-library-heading {
  display: flex;
  align-items: center;
  min-height: 112px;
  padding: 28px;
}
.media-library-heading:after {
  content: "MEDYA";
  margin-left: auto;
  color: #10a6ac;
  font:
    600 3.4rem Georgia,
    serif;
  opacity: 0.14;
}
.media-group-panel {
  border-radius: 18px;
}
.media-group-panel > summary {
  padding: 20px 22px;
}
.media-group-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px;
}
.media-item {
  padding: 14px;
  border-radius: 14px;
}
.media-preview {
  height: 154px;
}
.service-editor {
  max-width: 1050px;
}
.save-bar {
  left: 50%;
  width: min(760px, calc(100% - 40px));
  transform: translateX(-50%);
  bottom: 22px;
  padding: 16px 20px;
  border-radius: 18px;
}
.save-bar button {
  padding: 13px 25px;
}
@media (max-width: 1050px) {
  .admin-app {
    padding: 14px;
  }
  .sidebar {
    gap: 8px;
  }
  .sidebar-brand {
    padding-right: 8px;
  }
  .admin-nav button {
    font-size: 0.58rem;
  }
  .sidebar-bottom a,
  .sidebar-bottom button {
    font-size: 0;
    padding: 10px;
  }
  .sidebar-bottom a:before {
    content: "↗";
    font-size: 1rem;
  }
  .sidebar-bottom button:before {
    content: "⇥";
    font-size: 1rem;
  }
  .media-group-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .admin-app {
    padding: 10px;
  }
  .sidebar {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 250px;
    height: calc(100vh - 20px);
    padding: 20px 12px;
    align-items: stretch;
    flex-direction: column;
    border: 1px solid #1a4058;
    transform: translateX(-110%);
  }
  .sidebar.open {
    transform: none;
  }
  .sidebar-brand {
    padding: 7px 10px 25px;
    border: 0;
  }
  .admin-nav {
    display: grid;
    flex: none;
  }
  .admin-nav button {
    width: 100%;
    justify-content: flex-start;
    padding: 12px;
    font-size: 0.78rem;
  }
  .admin-nav button span {
    display: block;
  }
  .sidebar-bottom {
    display: grid;
    margin-top: auto;
    padding: 14px 5px 0;
    border-top: 1px solid #ffffff17;
  }
  .sidebar-bottom a,
  .sidebar-bottom button {
    font-size: 0.7rem;
  }
  .sidebar-bottom a:before,
  .sidebar-bottom button:before {
    content: none;
  }
  .admin-main {
    padding-bottom: 70px;
  }
  .topbar {
    min-height: 116px;
    padding-bottom: 18px;
  }
  .topbar:before {
    margin-top: 20px;
    font-size: 0.52rem;
  }
  .topbar h1 {
    font-size: 2.25rem;
  }
  .media-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .save-bar {
    position: static;
    width: auto;
    transform: none;
    margin-top: 18px;
  }
}
@media (max-width: 560px) {
  .topbar {
    min-height: 100px;
  }
  .topbar h1 {
    font-size: 1.8rem;
  }
  .intro-card {
    min-height: 270px;
  }
  .intro-card h2 {
    font-size: 2.5rem;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stats article {
    min-height: auto;
  }
  .action-grid,
  .media-group-grid {
    grid-template-columns: 1fr;
  }
  .media-library-heading:after {
    display: none;
  }
  .save-bar {
    width: 100%;
  }
}
/* Sidebar workspace navigation */
.admin-app {
  max-width: none;
  margin: 0;
  padding: 18px;
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 20px;
}
.sidebar {
  position: sticky;
  top: 18px;
  width: auto;
  height: calc(100vh - 36px);
  min-height: 0;
  padding: 23px 14px 17px;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  border: 1px solid #1a4058;
  border-radius: 24px;
}
.sidebar-brand {
  padding: 5px 9px 28px;
  border: 0;
}
.studio-logo {
  display: block;
  width: 118px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}
.login-brand .studio-logo {
  width: 146px;
  height: 62px;
  filter: none;
}
.admin-nav {
  display: grid;
  flex: none;
  gap: 5px;
}
.admin-nav:before {
  display: block;
  content: "YÖNETİM KATEGORİLERİ";
  padding: 0 11px 10px;
  color: #7ea0b7;
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.admin-nav button {
  width: 100%;
  justify-content: flex-start;
  padding: 12px;
  font-size: 0.78rem;
}
.admin-nav button span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #4ee4df40;
  border-radius: 7px;
  font-size: 0.57rem;
}
.admin-nav button.active span {
  border-color: #062439;
}
.sidebar-bottom {
  display: grid;
  margin-top: auto;
  padding: 14px 5px 0;
  border-top: 1px solid #ffffff17;
}
.sidebar-bottom a,
.sidebar-bottom button {
  font-size: 0.71rem !important;
  padding: 9px 6px !important;
}
.sidebar-bottom a:before,
.sidebar-bottom button:before {
  content: none !important;
}
.admin-main {
  padding: 0 clamp(5px, 2vw, 28px) 76px;
}
.topbar {
  min-height: 112px;
  align-items: center;
  padding: 0 5px;
  border: 0;
}
.topbar:before {
  display: none;
}
.topbar h1 {
  font-size: 2.2rem;
}
.intro-card {
  margin-top: 0;
}
@media (max-width: 850px) {
  .admin-app {
    display: block;
    padding: 10px;
  }
  .sidebar {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 264px;
    height: calc(100vh - 20px);
    transform: translateX(-110%);
  }
  .sidebar.open {
    transform: none;
  }
  .menu-toggle {
    display: grid;
  }
  .studio-logo {
    width: 120px;
  }
  .admin-main {
    padding: 0 5px 70px;
  }
}
.sidebar-brand {
  justify-content: center;
  padding: 10px 8px 30px;
}
.sidebar-brand .studio-logo {
  width: 178px;
  height: 62px;
  object-position: center;
}
.sidebar-logo-crop {
  display: block;
  width: 154px;
  height: 52px;
  overflow: hidden;
}
.sidebar-logo-crop img {
  display: block;
  width: auto;
  height: 52px;
  max-width: none;
  transform: translateX(-43px);
  filter: brightness(0) invert(1);
}
.login-brand .studio-logo {
  width: 146px;
  height: 62px;
}
@media (max-width: 850px) {
  .sidebar-brand {
    justify-content: flex-start;
  }
  .sidebar-brand .studio-logo {
    width: 166px;
    object-position: left center;
  }
}
/* Luxury animated sign-in experience */
@keyframes studioRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes studioFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(4deg);
  }
}
@keyframes studioGlow {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}
@keyframes studioSweep {
  from {
    transform: translateX(-130%) rotate(18deg);
  }
  to {
    transform: translateX(220%) rotate(18deg);
  }
}
.login-page {
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 12%, #177c9870, transparent 30%),
    radial-gradient(circle at 86% 84%, #35ded06b, transparent 26%),
    linear-gradient(132deg, #020b16, #071e31 52%, #0a3347);
  grid-template-columns: 1.15fr 0.85fr;
}
.login-page:before {
  z-index: -1;
  width: 540px;
  height: 540px;
  left: 8%;
  bottom: -260px;
  border: 1px solid #5ee8df55;
  box-shadow:
    0 0 0 55px #4ee4df08,
    0 0 0 115px #4ee4df06;
  animation: studioFloat 10s ease-in-out infinite;
}
.login-page:after {
  z-index: -1;
  inset: auto 12% 12% auto;
  width: 340px;
  height: 340px;
  border: 1px solid #8ef4f080;
  border-radius: 50%;
  background: radial-gradient(circle, #4ee4df20, transparent 66%);
  animation: studioGlow 6s ease-in-out infinite;
}
.login-brand {
  align-self: center;
  flex-wrap: wrap;
  max-width: 500px;
  animation: studioRise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.login-brand:after {
  content: "MARINA EVENT’S DAVET\A GÜVENLİ İÇERİK YÖNETİMİ";
  position: static;
  width: 100%;
  margin-top: 26px;
  color: #d8f3f5;
  white-space: pre-line;
  font:
    600 clamp(2.7rem, 5vw, 5.8rem)/0.86 Georgia,
    serif !important;
  letter-spacing: -0.075em;
}
.login-brand .studio-logo {
  width: 190px;
  height: 72px;
  filter: none;
}
.login-brand > div {
  padding-left: 15px;
  border-left: 1px solid #7ee9e655;
}
.login-card {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border: 1px solid #ffffff38;
  border-radius: 30px;
  background: linear-gradient(140deg, #ffffffef, #e9ffffd9);
  box-shadow: 0 40px 100px #000a;
  animation: studioRise 0.85s 0.16s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.login-card:before {
  content: "";
  position: absolute;
  top: -120%;
  left: -45%;
  width: 35%;
  height: 340%;
  background: linear-gradient(90deg, transparent, #ffffff99, transparent);
  animation: studioSweep 5.5s 1.5s ease-in-out infinite;
}
.login-card > * {
  position: relative;
  z-index: 1;
}
.login-card h1 {
  font-size: 2.7rem;
}
.login-card label {
  margin-top: 20px;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.login-card input {
  padding: 15px 14px;
  border-radius: 12px;
  background: #ffffffb8;
}
.login-card button {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 16px;
  border-radius: 13px;
  background: linear-gradient(105deg, #08243f, #0e7d89 62%, #34cdc5);
  box-shadow: 0 17px 28px #07335438;
}
.login-card button:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    #ffffff44 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.65s;
}
.login-card button:hover:after {
  transform: translateX(120%);
}
.login-card button span {
  float: right;
  font-size: 1.2rem;
}
.login-card .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.login-card .eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1acbb9;
  box-shadow: 0 0 0 5px #1acbb925;
}
@media (max-width: 850px) {
  .login-page {
    grid-template-columns: 1fr;
    background:
      radial-gradient(circle at 50% 0, #177c9870, transparent 38%),
      linear-gradient(155deg, #020b16, #0a3347);
  }
  .login-brand {
    justify-self: center;
    text-align: center;
  }
  .login-brand > div {
    display: none;
  }
  .login-brand:after {
    font-size: 2.7rem;
  }
  .login-card {
    margin-top: 12px;
  }
}
@media (max-width: 560px) {
  .login-page {
    padding: 24px;
  }
  .login-brand .studio-logo {
    width: 160px;
  }
  .login-card {
    padding: 34px 25px;
  }
  .login-card h1 {
    font-size: 2.25rem;
  }
}
.login-page:has(.login-card) .login-brand:after {
  position: static;
  left: auto;
  top: auto;
  width: 100%;
  margin-top: 26px;
  color: #d8f3f5;
  white-space: pre-line;
  font:
    600 clamp(2.7rem, 5vw, 5.8rem)/0.86 Georgia,
    serif;
  letter-spacing: -0.075em;
}
@media (max-width: 850px) {
  .login-page:has(.login-card) .login-brand:after {
    display: block;
    font-size: 2.7rem;
  }
}
/* Centered sign-in layout */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.login-page .login-brand {
  position: absolute;
  left: clamp(28px, 6vw, 90px);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.24;
  pointer-events: none;
}
.login-page .login-brand > div {
  display: none;
}
.login-page .login-brand:after {
  max-width: 500px;
}
.login-card {
  justify-self: auto;
  margin: 0;
  transform: none;
}
@media (max-width: 850px) {
  .login-page .login-brand {
    display: none;
  }
  .login-card {
    width: min(440px, 100%);
  }
}
/* Premium form studio for every category */
.admin-panel:not(#overview) {
  position: relative;
  overflow: hidden;
  border: 1px solid #d7e4ea !important;
  background: linear-gradient(145deg, #ffffff 0%, #f5fafc 100%) !important;
  box-shadow: 0 22px 54px #06243a10 !important;
}
.admin-panel:not(#overview):before {
  content: "";
  position: absolute;
  top: -150px;
  right: -110px;
  width: 310px;
  height: 310px;
  border: 1px solid #38d7d640;
  border-radius: 50%;
  box-shadow: 0 0 0 42px #38d7d609;
  pointer-events: none;
}
.admin-panel:not(#overview) > * {
  position: relative;
  z-index: 1;
}
.section-heading {
  padding: 6px 0 26px;
  margin-bottom: 28px;
}
.section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}
.section-heading p:not(.eyebrow) {
  max-width: 570px;
  font-size: 0.88rem;
  line-height: 1.65;
}
.panel-icon {
  width: 58px;
  height: 58px;
  border: 1px solid #75e9e4;
  border-radius: 18px;
  background: linear-gradient(135deg, #e9ffff, #dcecff);
  box-shadow: 0 13px 22px #0a6e8120;
}
.form-grid {
  gap: 16px;
}
.form-grid > label {
  min-height: 132px;
  padding: 15px 16px 16px;
  border: 1px solid #d9e7ed;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 17px #092d4208;
  color: #1a4962;
  font-size: 0.7rem;
  letter-spacing: 0.025em;
}
.form-grid > label:focus-within {
  border-color: #43cfd1;
  box-shadow:
    0 0 0 4px #4ee4df1c,
    0 13px 22px #092d4210;
}
.form-grid input,
.form-grid textarea {
  margin-top: 3px;
  border-color: #d5e3e9;
  background: #f8fbfc;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}
.form-grid textarea {
  min-height: 82px;
}
.form-grid > label:has(.direct-media-control) {
  min-height: 0;
  padding-bottom: 14px;
}
.direct-media-control {
  margin-top: 8px;
}
.media-preview {
  height: 174px;
  border-radius: 11px;
  box-shadow: inset 0 0 0 1px #ffffff66;
}
.media-current {
  padding: 9px;
  background: #edf6f8;
}
.choose-media,
.remove-media {
  padding: 10px;
  border-radius: 9px;
}
.service-editor {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid #d8e8ed;
  border-radius: 18px;
  background: linear-gradient(135deg, #f1fbfb, #f7fbff);
}
.service-edit-card {
  box-shadow: 0 8px 16px #06243a08;
}
.service-edit-card > summary {
  background: #fff;
}
.service-edit-fields {
  background: #fbfeff;
}
.media-library-heading {
  border: 0;
  border-radius: 18px;
  background: linear-gradient(110deg, #0b2d45, #126776);
  color: #fff;
  box-shadow: 0 18px 30px #06243a20;
}
.media-library-heading .eyebrow,
.media-library-heading p {
  color: #9df5ef !important;
}
.media-library-heading h3 {
  font-size: 1.8rem;
}
.media-library-heading:after {
  color: #fff !important;
  opacity: 0.13;
}
.save-bar {
  border-color: #48d7d6;
  background: linear-gradient(110deg, #061c31, #0b4960) !important;
  box-shadow: 0 20px 42px #061c3152;
}
.save-bar button {
  border: 1px solid #b4ffff;
  background: linear-gradient(105deg, #4ee4df, #48aef0) !important;
  box-shadow: 0 10px 20px #062d4240;
  font-size: 0.86rem;
}
@media (max-width: 560px) {
  .form-grid > label {
    min-height: 0;
    padding: 13px;
  }
  .media-preview {
    height: 156px;
  }
  .panel-icon {
    width: 46px;
    height: 46px;
  }
  .service-editor {
    padding: 12px;
  }
}
.inquiry-list {
  display: grid;
  gap: 10px;
}
.inquiry-list article {
  padding: 18px;
  border: 1px solid #d8e7eb;
  border-radius: 14px;
  background: #fff;
}
.inquiry-list b,
.inquiry-list small {
  display: block;
}
.inquiry-list small {
  margin-top: 5px;
  color: #058d98;
  font-size: 0.72rem;
}
.inquiry-list p {
  margin: 10px 0 0;
  color: #587281;
  font-size: 0.8rem;
}

/* Talep yönetim aksiyonları */
.inquiry-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}
.inquiry-actions button,
.inquiry-state {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}
.inquiry-actions button {
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}
.inquiry-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(5, 44, 65, 0.16);
}
.inquiry-actions button:active {
  transform: translateY(0);
  box-shadow: none;
}
.inquiry-approved {
  background: linear-gradient(135deg, #dffbea, #a9efd0);
  color: #08744d;
  border-color: #79dfaf !important;
}
.inquiry-approved:hover {
  background: linear-gradient(135deg, #0c9f6e, #087e5a);
  color: #fff;
}
.inquiry-rejected {
  background: linear-gradient(135deg, #fff0f1, #ffd9dc);
  color: #a43c49;
  border-color: #f0aab1 !important;
}
.inquiry-rejected:hover {
  background: linear-gradient(135deg, #c85461, #a73b49);
  color: #fff;
}
.inquiry-delete {
  background: #fff;
  color: #6c4a50;
  border-color: #d7dfe4 !important;
}
.inquiry-delete:hover {
  background: #17384b;
  border-color: #17384b !important;
  color: #fff;
}
.inquiry-state {
  margin-left: auto;
  background: #edf5f7;
  color: #527080;
}
.inquiry-state.approved {
  background: #e3f9ec;
  color: #08744d;
}
.inquiry-state.rejected {
  background: #fff0f1;
  color: #a43c49;
}

/* Vitrin akışları: her dosya ayrı düzenlenir. */
.stream-media-control {
  display: grid;
  gap: 11px;
  margin-top: 8px;
}
.stream-media-info {
  color: #597583;
  font-size: 0.73rem;
}
.stream-media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
  gap: 10px;
}
.stream-media-item {
  overflow: hidden;
  border: 1px solid #d3e4e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(8, 44, 62, 0.06);
}
.stream-item-preview {
  position: relative;
  height: 112px;
  overflow: hidden;
  background: #edf4f6;
}
.stream-item-preview img,
.stream-item-preview video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.stream-item-preview span {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 6px;
  border-radius: 5px;
  background: rgba(4, 35, 52, 0.78);
  color: #eaffff;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.stream-media-item > small {
  display: block;
  padding: 8px 9px 3px;
  overflow: hidden;
  color: #476978;
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stream-item-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 7px 9px 9px;
}
.stream-item-actions button {
  min-height: 31px;
  border: 1px solid #cce4e8;
  border-radius: 7px;
  background: #f5fcfd;
  color: #087d8b;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}
.stream-item-actions button:hover {
  transform: translateY(-1px);
  background: #087d8b;
  color: #fff;
}
.stream-item-actions .stream-remove {
  border-color: #efd2d5;
  background: #fff8f8;
  color: #a34c58;
}
.stream-item-actions .stream-remove:hover {
  background: #b54d5b;
  color: #fff;
}
.stream-add {
  width: 100%;
  min-height: 40px;
}
