html, body {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background: #232526;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
}

    .photog-split-layout {
      display: flex;
      min-height: 100vh;
      height: 100vh;
      width: 100vw;
      overflow: hidden;
    }
    .photog-banner {
      flex: 1.2;
      position: relative;
      min-width: 0;
      overflow: hidden;
      display: flex;
      align-items: stretch;
      justify-content: stretch;

    }

    .photog-banner-bg {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background-size: cover;
      background-position: top center;
      z-index: 1;
      transition: background-image 1.2s cubic-bezier(.39,.575,.565,1.000);
      animation: photogBannerSlideTop 14s infinite alternate;
    }
    @keyframes photogBannerSlideTop {
      0% { filter: brightness(0.97) scale(1.04); background-position: top center; }
      100% { filter: brightness(0.82) scale(1.08); background-position: bottom center; }
    }
    .photog-banner-overlay {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: linear-gradient(120deg,rgba(35,37,38,0.7) 60%,rgba(229,45,39,0.18) 100%);
      z-index: 2;
    }
    .photog-banner-content {
      position: relative;
      z-index: 3;
      color: #fff;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      padding: 3vw 4vw;
    }
    .photog-banner-logo img {
      width: 70px; height: 70px; border-radius: 50%; box-shadow: 0 2px 12px rgba(0,0,0,0.13); margin-bottom: 18px;
      background: #fff;
    }
    .photog-banner-title {
      font-size: 2.1rem;
      font-weight: 900;
      letter-spacing: 2px;
      margin-bottom: 0.7rem;
      text-shadow: 0 2px 12px #000, 0 1px 0 #fff;
    }
    .photog-banner-desc {
      font-size: 1.18rem;
      font-weight: 500;
      margin-bottom: 1.2rem;
      text-shadow: 0 2px 8px #000;
    }
    .photog-banner-highlight {
      color: #fbb034;
      font-weight: 700;
      font-size: 1.08em;
      text-shadow: 0 1px 0 #fff, 0 2px 8px #e52d27;
    }



    .photog-auth-box {
      width: 100% !important;
      max-width: 100% !important;
      min-height: 410px;
      background: rgba(255,255,255,0.98);
      border-radius: 18px;
      box-shadow: 0 8px 32px 0 rgba(173, 219, 7, 0.1);
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%,-50%) scale(0.98);
      opacity: 0;
      pointer-events: none;
      transition: all 0.55s cubic-bezier(.39,.575,.565,1.000);
      will-change: transform, opacity;
      display: flex;
      flex-direction: column;
      padding: 2.2rem 2rem 1.7rem 2rem;
       z-index: 21;
    }

    .photog-auth-box .photog-auth-title {
      font-size: 1.35rem;
      font-weight: 800;
      color: #b31217;
      letter-spacing: 1.2px;
      margin-bottom: 1.2rem;
      text-align: center;
      text-shadow: 0 1px 0 #fff, 0 2px 8px #e52d27;
    }
    .photog-auth-box.show-front {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%,-50%) scale(1) rotateY(0deg);
      z-index: 3;
      box-shadow: 0 8px 32px 0 rgba(229,45,39,0.13);
    }
    .photog-auth-box.to-back {
      opacity: 0.2;
      pointer-events: none;
      transform: translate(-50%,-50%) scale(0.92) rotateY(-30deg);
      z-index: 1;
    }
    .photog-auth-box.to-back2 {
      opacity: 0.1;
      pointer-events: none;
      transform: translate(-50%,-50%) scale(0.88) rotateY(-60deg);
      z-index: 0;
    }
    .photog-footer {
      margin-top: 2.2rem;
      text-align: center;
      color: #b31217;
      font-size: 0.88rem;
      opacity: 0.7;
      letter-spacing: 0.5px;
      font-weight: 600;
      text-shadow: 0 1px 0 #fff;
      position: absolute;
      left: 0; right: 0; bottom: 0;
    }

    /* Form and input styles (reuse previous, but tweak for new layout) */
    .form-group {
      margin-bottom: 1.1rem;
      position: relative;
    }
    .form-group label {
      font-size: 1.01rem;
      color: #232526;
      font-weight: 700;
      margin-bottom: 0.3rem;
      display: block;
      letter-spacing: 0.2px;
    }
    .form-group input {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      padding: 10px 12px 10px 38px;
      border-radius: 9px;
      border: 1.7px solid #d1d1d1;
      font-size: 1.04rem;
      background: #f7f7f7;
      transition: border 0.22s, box-shadow 0.22s;
      outline: none;
      font-weight: 600;
      display: block;
    }
    .form-group input:focus {
      border: 1.7px solid #e52d27;
      background: #fff;
      box-shadow: 0 2px 8px rgba(229,45,39,0.08);
    }
    .form-group .icon.photog-icon {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      color: #b31217;
      font-size: 1.18rem;
      pointer-events: none;
      transition: color 0.2s, transform 0.2s;
      filter: drop-shadow(0 1px 0 #fff);
    }
    .form-group input:focus ~ .icon.photog-icon {
      color: #e52d27;
      transform: translateY(-50%) scale(1.15) rotate(-8deg);
    }
    .login-btn.photog-btn {
      width: 100%;
      background: linear-gradient(90deg, #e52d27 0%, #b31217 100%);
      color: #fff;
      font-weight: 800;
      border: none;
      border-radius: 9px;
      padding: 13px 0;
      font-size: 1.13rem;
      margin-top: 0.5rem;
      cursor: pointer;
      box-shadow: 0 2px 8px rgba(229,45,39,0.10);
      transition: background 0.22s, transform 0.12s, box-shadow 0.22s;
      letter-spacing: 0.5px;
    }
    .login-btn.photog-btn:active {
      transform: scale(0.97);
      box-shadow: 0 1px 4px rgba(229,45,39,0.08);
    }
    .forgot-link, .signup-link {
      display: block;
      text-align: right;
      margin-top: 0.7rem;
      color: #b31217;
      font-size: 0.99rem;
      text-decoration: none;
      font-weight: 700;
      transition: color 0.2s;
    }
    .forgot-link:hover, .signup-link:hover {
      color: #e52d27;
    }
    .form-message {
      margin-bottom: 0.7rem;
      color: #b31217;
      font-size: 1.01rem;
      text-align: center;
      min-height: 22px;
      font-weight: 600;
    }


   .photog-logo-spin {
  animation: photog-spin 2.2s linear infinite;
  display: inline-block;
}
@keyframes photog-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Stack animation for auth boxes */

    /* Auth stack (kanan) */
  .photog-auth-stack {
    flex: 1;
    min-width: 340px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    min-height: 450px;
    justify-content: center;
    align-items: center;
    margin-right: 150px;
  }
.photog-auth-box {

  border-radius: 18px;
  background: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60px) scale(0.98);
  width: 100%;
  max-width: 420px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(.4,1.6,.4,1), transform 0.45s cubic-bezier(.4,1.6,.4,1);
  z-index: 1;
}
.photog-auth-box.show-front {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  z-index: 2;
}
.photog-auth-box.to-back, .photog-auth-box.to-back2 {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-60px) scale(0.98);
  z-index: 1;
}
    @media (max-width: 600px) {
      html, body {
        height: auto;
        min-height: 100vh;
        max-height: none;
        overflow: auto;
      }
      .photog-split-layout { flex-direction: column; height: auto; min-height: 100vh; overflow: visible; }
      .photog-banner-content { padding: 7vw 4vw; }
      .photog-banner-title { font-size: 1.1rem; }
      .photog-banner-logo img { width: 44px; height: 44px; }
      .photog-auth-stack {
        position: fixed;
        top: 0; left: 0; width: 100vw; height: 100vh;
        min-width: 0; max-width: 100vw;

        z-index: 20;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        box-shadow: none;
        overflow: hidden;
        max-height: 100vh;
      }
.photog-auth-box {      
  width: 96vw !important;
  max-width: 98vw !important;
  min-width: 0 !important;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  position: absolute;
  overflow-y: auto;
  max-height: 96vh;
}
      .photog-footer {
        position: static;
        margin-top: 1.2rem;
      }
    }