.button {
    background: #007bff;
    color: white;
    font-weight: bold;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  }

  .button:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.6);
  }
  /*.demo-access {

      background: rgba(255, 255, 255, 0.85); /* white with 85% opacity /*
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      padding: 30px;
      margin: 50px auto 20px;
      max-width: 500px;
      border-radius: 12px;
      text-align: center;
  }*/

  .demo-access {
  background: rgba(255, 255, 255, 0.85);
  max-width: 320px; /* smaller width */
  padding: 20px; /* reduced padding */
  font-size: 0.9em; /* smaller text */
  opacity: 0.85; /* slightly faded */
  transform: scale(0.95); /* subtly smaller */
  }   

  .demo-access h2 {
      font-size: 1.2em;
      margin-bottom: 10px;
  }


  .demo-access button {
    margin-top: 3px;
  }
  .demo-access input[type="email"] {
    padding: 14px 16px;
    width: 80%;
    max-width: 300px;

    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
  }

  .demo-access input[type="email"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
  }
  .login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px; /* nice spacing between cards */
  margin-top: 30px;
}

/* 🌟 Flying card background animation */
body {
    position: relative;
    overflow: hidden;
    background: #f4f6fc;
  }
  
  /* Container for animated cards */
  .animated-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  
  /* Individual card styling */
  .card {
    position: absolute;
    opacity: 0;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  }
  
  /* Fly-in animations */
  .fly1 {
    height: 300px;
    top: -200px;
    right: -200px;
    animation: flyIn1 1.6s ease-out forwards;
  }
  
  .fly2 {
    width: 300px;
    bottom: -200px;
    left: -250px;
    animation: flyIn2 1.8s ease-out forwards;
    animation-delay: 0.4s;
  }
  
  .fly3 {
    height: 300px;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    animation: flyIn3 2s ease-out forwards;
    animation-delay: 0.8s;
  }

  .fly4 {
    width: 300px;
    bottom: -200px;
    right: -200px;
    animation: flyIn4 1.9s ease-out forwards;
    animation-delay: 0.9s;
  }
  .fly-mobile {
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    height: 500px;
    width: auto;
    opacity: 0.3;
    animation: flyInMobile 3s ease-out forwards;
  }
  
  @keyframes flyInMobile {
    to {
      top: 40%;
      left: 40%;
      transform: translate(-50%, -50%) rotate(5deg);
      opacity: 0.85;
    }
  }
  
  @keyframes flyIn1 {
    to {
      top: 25%;
      right: 50%;
      transform: rotate(-20deg);
      opacity: 0.7;
    }
  }
  
  @keyframes flyIn2 {
    to {
      bottom: 50%;
      left: 60%;
      transform: rotate(15deg);
      opacity: 0.75;
    }
  }
  
  @keyframes flyIn3 {
    to {
      top: 60%;
      left: 60%;
      transform: rotate(-8deg);
      opacity: 0.8;
    }
  }
  
  
  @keyframes flyIn4 {
    to {
      bottom: 10%;
      right: 60%;
      transform: rotate(5deg);
      opacity: 0.75;
    }
  }
  
  
  
  /* 🧩 Login Form Layout */
  .admin-login {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f8f9fa, #e0f2f1);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }
  
  .login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px;
    z-index: 1;
    position: relative;
  }
  
  
  .login-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
  
  .login-card h2 {
    margin-bottom: 20px;
  }
  
  .login-card label {
    margin-bottom: 8px;
    text-align: left;
    font-weight: bold;
  }
  
  /* Inputs */
  .form-input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .form-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
  }
  
  .form-row label {
    width: 100px;
    font-weight: bold;
    text-align: right;
  }
  
  /* Login Button */
  .login-btn {
    background-color: #4285F4;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-top: 15px;
  }
  
  .login-btn:hover {
    background-color: #3367d6;
  }
  
  /* Error Message */
  .error-message {
    color: #e53935;
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
  }

  #photo-fly-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .fly-in-photo {
    position: absolute;
    opacity: 0;
    transition: all 0.6s ease;
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
  }

  .center-photo {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    z-index: 1000;
  }

