:root {
  --bg: #0f172a;
  --card: #0b1224;
  --muted: #94a3b8;
  --text: #0f172a;
  --primary: #6366f1;
  --primary-600: #5457e0;
  --ring: #7c3aed;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background: #063b98;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

/* sayfa bol*/
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
}

.left {
  position: relative;
  overflow: hidden;
}
.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-overlay {
  position: absolute;
  inset: 0;
  background: #94a3b8;
}

.right {
  position: relative;
  display: flex;
  flex-direction: column;  
  align-items: center; 
  justify-content: center;
  padding: 40px;
}

/* kart*/
.card {
  position: relative;
  width: 100%;
  max-width: 390px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(270deg, transparent, #db5830, transparent , #db5830) border-box;
  border: 5px solid transparent;
  border-radius: var(--radius);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.35);
  background-size: 400% 400%;
  animation: borderMove 6s linear infinite;
  overflow: hidden;
  padding: 0px 30px 8px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

/* animasyon */
@keyframes borderMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.logo {
  width: 250px;
  height: 250px;
  margin-top: -30px;
  margin-bottom: -30px;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


.input {
  width: 100%;
  max-width: 250px;
  background: #e6e4e4;
  border: 1px solid rgba(148,163,184,.25);
  color: #333;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  outline: none;
  margin-bottom: 12px;
  display: block;
}

.input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(124,58,237,.25);
}


.pwd-wrap {
  position: relative;
}
.toggle {
  position: absolute;
  right: 10px;
  top: 35%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
}
.toggle:hover {
  color: var(--primary);
}


.btn-group {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 10px;
}
.btn {
  border: none;
  border-radius: 12px;
  padding: 11px 40px;
  font-weight: 800;
  background: var(--primary);
  color: white;
  cursor: pointer;
  font-size: 15px;
}
.btn:hover {
  background: var(--primary-600);
}


.sifre-text {
  margin-top: 5px;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}
.sifre-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}
.sifre-text a:hover {
  text-decoration: underline;
}


.register-text {
  margin-top: 20px; margin-bottom: 5px;
  font-size: 16px;
  color: #db5830;
  text-align: center;
  padding-top: 15px;
}
.register-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}
.register-text a:hover {
  text-decoration: underline;
}

/* footer */
.footer-text {
  position: absolute;
  text-align: center;
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
  width: 100%;
  bottom: 5px;
}


@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; height: auto; }
  .left { display: none; }
  .card {
    padding: 20px;
    max-width: 100%;
  }
  .logo {
    width: 150px;
    height: 150px;
  }
}
