@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
      --green-dark:   #1a3509;
      --green-mid:    #2d5016;
      --green-accent: #4f8315;
      --green-light:  #edf7e0;
      --gold:         #c8a84b;
      --gold-light:   #f0d98a;
      --text:         #1a2e09;
      --text-soft:    #556644;
      --border:       rgba(79,131,21,0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
      font-family: 'Plus Jakarta Sans', sans-serif;
      -webkit-text-size-adjust: 100%;
}

body {
      background: #f4fdf0;
      min-height: 100dvh;
      overflow-x: hidden;
}

/* ───── LAYOUT ───── */
.layout {
      display: flex;
      min-height: 100dvh;
       overflow-x: hidden;

}

/* ───── LEFT PHOTO PANEL ───── */
.pic {
      flex: 1;
      position: relative;
      overflow: hidden;
      min-height: 100dvh;
      display: block;
}

@media (max-width: 900px) {
  .layout {
    flex-direction: column;
  }
  .pic {
    display: none;
  }
}

.pic img {
      width: 100%; height: 100%;
      object-fit: cover; object-position: center;
      display: block;
}

.pic::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(135deg,
        rgba(26,53,9,0.60) 0%,
        rgba(26,53,9,0.20) 50%,
        rgba(26,53,9,0.70) 100%
      );
}

.pic-logo {
      position: absolute; top: 0.5rem; left: 2.5rem; z-index: 2;
      display: flex; align-items: center; gap: 12px;
      animation: fadeSlideLeft 0.8s ease both;
}

.pic-logo-icon {
      width: 48px; height: 48px; border-radius: 12px;
      background: rgba(255,255,255,0.14);
      border: 1.5px solid rgba(200,168,75,0.5);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem; backdrop-filter: blur(8px);
      overflow: hidden;
}

.pic-logo-icon img {
      width: 100%; height: 100%;
      object-fit: cover;
}

.pic-logo-text strong {
      display: block;
      font-family: 'Playfair Display', serif;
      font-size: 1rem; font-weight: 800;
      color: var(--gold-light); line-height: 1.1;
}

.pic-logo-text span {
      font-size: 0.68rem; font-weight: 500;
      color: rgba(255,255,255,0.6);
      text-transform: uppercase; letter-spacing: 0.08em;
}

.pic-overlay {
      position: absolute; inset: 0; z-index: 2;
      display: flex; flex-direction: column;
      justify-content: flex-end;
      padding: 2.5rem 2.5rem 3rem;
      animation: fadeSlideLeft 0.9s 0.15s ease both;
}

.pic-headline {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      font-weight: 800; line-height: 1.15;
      color: #fff; margin-bottom: 0.65rem;
}

.photo-headline em { font-style: normal; color: var(--gold); }

.photo-sub {
      font-size: 0.88rem; font-weight: 500;
      color: rgba(255,255,255,0.72); line-height: 1.65;
      max-width: 320px; margin-bottom: 1.4rem;
}

.puut {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
.puut a {
  position: relative;
  color: #a3a1a1;
}

section {
      flex: 1;
      min-height: 100dvh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem 1.5rem;
      background: #f4fdf0;
      position: relative;
      overflow: hidden;
      overflow-y: auto; 
}
#logo {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      z-index: 0;
}

#logo .lostop {
      margin-bottom: 0;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      z-index: -1;
      opacity: 0.3;
      pointer-events: none;
}

.lostop img {
      margin: 0; padding: 0;
      height: 500px; width: 500px;
      opacity: .3;
}


.login-card {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 400px;
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 8px 40px rgba(26,53,9,0.10), 0 1px 4px rgba(26,53,9,0.06);
      padding: 2.5rem 2rem;
      display: flex;
      flex-direction: column;
      gap: 0;
      animation: cardRise 0.7s cubic-bezier(.22,1,.36,1) both;
}

@keyframes cardRise {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
}


.card-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1.8rem;
}

.card-logo-wrap {
      width: 64px; height: 64px;
      border-radius: 16px;
      background: var(--green-light);
      border: 2px solid var(--border);
      overflow: hidden;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 0.3rem;
}

.card-logo-wrap img {
      width: 100%; height: 100%; object-fit: cover;
}

/* ── SBIS title ── */
#dsbis {
      position: static;
      text-align: center;
}

#sbis {
      position: static;
      font-size: 2.4rem;
      color: var(--green-dark);
      font-family: 'Playfair Display', serif;
      font-weight: 800;
      letter-spacing: 0.06em;
      line-height: 1;
      transform: none;
      top: auto; left: auto;
}

.card-subtitle {
      font-size: 0.8rem;
      color: var(--text-soft);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-top: 0.15rem;
}

/* ── form fields ── */
#loginForm {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
}

.field-label {
      display: block;
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text-soft);
      text-transform: uppercase;
      letter-spacing: 0.07em;
      margin-bottom: 0.35rem;
}


#myemail {
      position: static;
      top: auto; left: auto;
      width: 100%; height: auto;
      resize: none;
      line-height: normal;
      border: 1.5px solid var(--border);
      justify-content: flex-start;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: flex;
      align-items: center;
      padding: 0 0.85rem;
      border-radius: 10px;
      background-color: var(--green-light);
      transition: border-color 0.2s, box-shadow 0.2s;
}

#myemail:focus-within {
      border-color: var(--green-accent);
      box-shadow: 0 0 0 3px rgba(79,131,21,0.12);
}

#myemail2 {
      background-color: transparent;
      border: none;
      outline: none;
      width: 100%;
      padding: 0.75rem 0;
      font-size: 0.95rem;
      font-family: 'Plus Jakarta Sans', sans-serif;
      color: var(--text);
}

#myemail2::placeholder { color: #a0b890; }


#pass {
      position: static;
      top: auto; left: auto;
      width: 100%; height: auto;
      resize: none;
      border: 1.5px solid var(--border);
      justify-content: space-between;
      white-space: nowrap;
      overflow: visible;
      padding: 0 0.85rem;
      border-radius: 10px;
      background-color: var(--green-light);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: border-color 0.2s, box-shadow 0.2s;
}

#pass:focus-within {
      border-color: var(--green-accent);
      box-shadow: 0 0 0 3px rgba(79,131,21,0.12);
}

#word {
      background-color: transparent;
      border: none;
      outline: none;
      flex: 1;
      padding: 0.75rem 0;
      font-size: 0.95rem;
      font-family: 'Plus Jakarta Sans', sans-serif;
      color: var(--text);
}

#word::placeholder { color: #a0b890; }


#toggle {
      width: 18px; height: 18px;
      cursor: pointer;
      accent-color: var(--green-accent);
      flex-shrink: 0;
}

/* ── login button ── */
#loginn {
      position: static;
      top: auto; left: auto;
      border-color: transparent;
      padding-top: 0;
      border-radius: 10px;
      background-color: transparent;
      margin-top: 0.4rem;
}

#mylogin {
      position: static;
      top: auto; left: auto;
      width: 100%;
      height: 46px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--green-accent), var(--green-mid));
      color: #fff;
      font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: 0.95rem;
      font-weight: 700;
      border: none;
      cursor: pointer;
      letter-spacing: 0.04em;
      box-shadow: 0 4px 14px rgba(79,131,21,0.30);
      transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

#mylogin:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(79,131,21,0.38);
      filter: brightness(1.08);
}

#mylogin:active {
      transform: translateY(0);
      box-shadow: 0 2px 8px rgba(79,131,21,0.22);
}

/* ── divider ── */
.divider {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin: 0.9rem 0;
      color: var(--text-soft);
      font-size: 0.75rem;
      font-weight: 500;
}

.divider::before,
.divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
}

/* ── register button ── */
#register {
      position: static;
      top: auto; left: auto;
      width: 100%;
      height: 46px;
      border-radius: 10px;
      background-color: transparent;
      border: 1.5px solid var(--border);
      font-family: 'Plus Jakarta Sans', sans-serif;
      cursor: pointer;
      transition: background 0.18s, border-color 0.18s;
      display: flex;
      align-items: center;
      justify-content: center;
}

#register:hover {
      background: var(--green-light);
      border-color: var(--green-accent);
}

.registerr {
      text-decoration: none;
      color: var(--green-dark);
      font-size: 0.92rem;
      font-weight: 600;
      width: auto;
      height: auto;
      border-color: transparent;
      padding-top: 0;
      border-radius: 0;
      background-color: transparent;
}

a:link, a:visited, a:hover, a:active {
      text-decoration: none;
}


#taytol {
      font-size: 20px;
      color:#eaff82;
      font-family: 'Courier New', Courier, monospace;
      font-weight: bold;
}

.taytel {
      width: 1232px;
      border: 2px;
      background-color: #4f8310;
      padding: 5px;
}

#kontak {
      font-weight: bold;
      font-size: 18px;
      color: #eaff82;
}

.kontakk {
      position: absolute;
      top: 15px;
      left: 1125px;
      z-index: 1;
}

.sitingss {
      position: absolute;
      top: 440px;
      left: 1183px;
}

.sitingss img {
      height: 70px;
      width: 70px;
      pointer-events: none;
}

.datdat {
      position: absolute;
      top: 500px;
      left: 1183px;
}

.datdat img {
      height: 70px;
      width: 70px;
      pointer-events: none;
}


#emailword, #passwordword { display: none; }

/* ── footer ── */
footer {
      height: auto;
      background-color: var(--green-mid);
      color: #eaff82;
      text-align: center;
      padding: 12px 20px;
      position: absolute;
      bottom: 0;
      width: 100%;
      z-index: 10;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.03em;
      border-top: 1px solid rgba(200,168,75,0.2);
}

footer h3 {
      font-family: 'Playfair Display', serif;
      font-size: 0.78rem;
      font-weight: 700;
      margin-bottom: 2px;
}

footer p {
      opacity: 0.7;
      font-size: 0.68rem;
}


@keyframes fadeSlideLeft {
      from { opacity: 0; transform: translateX(-18px); }
      to   { opacity: 1; transform: translateX(0); }
}


@media (min-width: 768px) {
      .pic {
            display: block;
            flex: 1.1;
      }

      section {
            flex: 1;
            min-width: 420px;
            max-width: 520px;
      }

      body {
            display: flex;
            min-height: 100dvh;
      }
}


@media (max-width: 380px) {
      .login-card {
            padding: 2rem 1.3rem;
      }
}
