@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
  --primary: #ed0018;
  --primary-dark: #c40014;
  --primary-light: #ff6b6b;
  --secondary: #2d3748;
  --accent: #f8f9fa;
  --text: #333333;
  --text-light: #6c757d;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --gradient: linear-gradient(135deg, #ed0018 0%, #ff6b6b 100%);
  --glass: rgba(255, 255, 255, 0.1);
}

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

    body, html {
      height: 100%;
    }

    body {
      background-image: radial-gradient(circle at 52% 84%, rgba(194, 194, 194,0.06) 0%, rgba(194, 194, 194,0.06) 18%,transparent 18%, transparent 100%),radial-gradient(circle at 38% 97%, rgba(239, 239, 239,0.06) 0%, rgba(239, 239, 239,0.06) 20%,transparent 20%, transparent 100%),radial-gradient(circle at 86% 17%, rgba(210, 210, 210,0.06) 0%, rgba(210, 210, 210,0.06) 61%,transparent 61%, transparent 100%),radial-gradient(circle at 6% 48%, rgba(91, 91, 91,0.06) 0%, rgba(91, 91, 91,0.06) 27%,transparent 27%, transparent 100%),radial-gradient(circle at 27% 63%, rgba(86, 86, 86,0.06) 0%, rgba(86, 86, 86,0.06) 30%,transparent 30%, transparent 100%),radial-gradient(circle at 2% 91%, rgba(182, 182, 182,0.06) 0%, rgba(182, 182, 182,0.06) 29%,transparent 29%, transparent 100%),linear-gradient(290deg, rgb(255, 146, 210),rgb(255, 0, 0));
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .container {
      width: 90%;
      max-width: 1200px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 100px;
    }

    .left-panel {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .left-panel img{
      max-width: 100%;
      height: auto;
    }

    .left-panel h1 {
      font-size: 64px;
      color: white;
      letter-spacing: 5px;
      text-align: center;
      line-height: 1.2;
    }

    .right-panel {
      flex: 1;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(3px);
      padding: 40px;
      border-radius: 20px;
      color: white;
      box-shadow: 0 8px 32px 0 rgba(56, 56, 56, 0.37);
      border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .right-panel h2 {
      text-align: center;
      margin-bottom: 30px;
      font-size: 36px;
      font-weight: 600;
    }

    .form-group {
      margin-bottom: 15px;
      position: relative;
    }

    .password-requirements {
      display: none;
      text-align: left;
      margin-top: 10px;
      margin-bottom: 10px;
      padding: 15px;
      background-color: #ffffffff;
      border: 3px solid var(--primary);
      border-radius: 8px;
      transition: all 0.3s ease;
    }

    .password-requirements.show {
      display: block;
      animation: slideDown 0.3s ease;
    }

    .password-requirements.all-met {
      background-color: #d4edda;
      border-color: #28a745;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .password-requirements h4 {
      margin: 0 0 12px 0;
      font-size: 14px;
      color: #000000ff;
    }

    .password-requirements.all-met h4 {
      color: #155724;
    }

    .requirement {
      display: flex;
      align-items: center;
      margin-bottom: 8px;
      font-size: 13px;
      color: #000000ff;
      transition: all 0.3s ease;
    }

    .requirement:last-child {
      margin-bottom: 0;
    }

    .requirement i {
      padding: 0;
      position: relative;
      top: 0px;
      margin-right: 10px;
      font-size: 14px;
      color: #dc3545;
    }

    .requirement p {
      margin: 0;
      line-height: 1.4;
    }

    .requirement.hidden {
      display: none;
    }

    .all-requirements-met {
      display: none;
      color: #155724;
      font-weight: 500;
      font-size: 14px;
    }

    .all-requirements-met.show {
      display: flex;
      align-items: center;
    }

    .all-requirements-met i {
      margin-right: 10px;
      color: #28a745;
      font-size: 16px;
    }

    input, textarea, select {
      width: 100%;
      padding: 1rem 1.25rem;
      border: 2px solid var(--border);
      border-radius: 25px;
      font-size: 1rem;
      background: #f8f9fa;
      transition: all 0.3s ease;
      resize: vertical;
      line-height: 1.4;
    }

    input:focus, select:focus, textarea:focus {
      outline: none;
      border-color: var(--primary);
      background: white;
      box-shadow: 0 0 0 3px rgba(237, 0, 24, 0.1);
    }

    textarea {
      min-height: 80px;
      resize: vertical;
      border-radius: 15px;
    }

    .password-group input {
      padding-right: 40px;
    }

    .toggle-visibility {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      cursor: pointer;
      opacity: 0.8;
    }

    select {
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23333" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
  }

  select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(24, 120, 255, 0.4);
  }

  option[disabled] {
    color: #cfcfcfbb;
  }

    .signup-btn {
      background: #ed0018;
      color: white;
      border: none;
      padding: 14px;
      border-radius: 30px;
      font-size: 18px;
      width: 100%;
      cursor: pointer;
      margin-top: 20px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .signup-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(166, 0, 0, 0.4);
    }

    .login-link {
      text-align: center;
      margin-top: 10px;
      font-size: 14px;
    }

    .login-link a {
      color: #002fff;
      text-decoration: none;
    }

    .error-message {
      background: #ff4444;
      color: white;
      padding: 10px;
      border-radius: 5px;
      margin-bottom: 15px;
      text-align: center;
    }

    .success-message {
      background: #44ff44;
      color: #000;
      padding: 10px;
      border-radius: 5px;
      margin-bottom: 15px;
      text-align: center;
    }

    /* ============================
        RESPONSIVE DESIGN
      ============================= */

      /* 📱 Mobile (max-width: 768px) */
      @media (max-width: 768px) {

        body {
          padding: 20px 0px;
          display: block;
        }

        .container {
          flex-direction: column;
          width: 100%;
          justify-self: center;
        }

        .left-panel img {
          width: 350px;
          height: auto;
        }
        .left-panel{
          margin-top: 30px;
        }

        .right-panel {
          display: flex;
          flex-direction: column;
          width: 100%;
          padding: 25px;
        }

        .right-panel h2 {
          font-size: 18px;
        }

        .requirement i {
          padding: 0;
          position: relative;
          top: 0px;
          margin-right: 10px;
          font-size: 14px;
          color: #dc3545;
        }

        input, textarea, select, option{
          font-size: 12px;
          padding: 10px 14px;
          height: 50px;
        }

        label{
          font-size: 14px;
        }

        input, select{
          height: 35px;
        }

        .form-group{
          display: grid;
          justify-items: left;
        }

        .pass-label{
          display: flex;
          align-self: left;
        }

        .signup-btn {
          font-size: 12px;
          padding: 12px;
        }

        .login-link{
          font-size: 14px;
        }
      }

      /* 📱📄 Tablets + Small Laptops (max-width: 900px) */
      @media (max-width: 900px) {
        .container {
          flex-direction: column;
          text-align: center;
          gap: 40px;
        }

        .left-panel img {
          max-width: 55%;
        }

        .right-panel {
          width: 90%;
          padding: 35px;
        }

        .right-panel h2 {
          font-size: 32px;
        }

        input, textarea, select, option {
          font-size: 16px;
          padding: 10px 14px;
          height: 50px;
        }

        label{
          font-size: 16px;
        }

        .form-group{
          display: grid;
          justify-items: left;
        }

        .pass-label{
          display: flex;
          align-self: left;
        }
      }

      /* 💻 Small Laptops (max-width: 1200px) */
      @media (max-width: 1200px) {
        .container {
          gap: 60px;
        }

        .right-panel {
          padding: 35px;
        }
      }
