/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body Background with a subtle tech-inspired pattern */
  body {
    background: #f0f4f8;
    background-image: radial-gradient(circle at 20% 20%, rgba(0,0,0,0.03) 1px, transparent 0),
                      radial-gradient(circle at 80% 80%, rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 50px 50px;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }
  
  /* Register Panel Container */
  .register-panel {
    width: 900px;
    max-width: 95%;
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
  }
  
  /* Left Column with Tech-Inspired Diagonal Pattern */
  .panel-left {
    flex: 1;
    background: #212121;
    background-image: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 20px
    );
    background-size: 40px 40px;
    animation: bgShift 10s linear infinite;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #444;
  }
  
  @keyframes bgShift {
    from { background-position: 0 0; }
    to { background-position: 40px 40px; }
  }
  
  .left-content {
    text-align: center;
    color: #f0f0f0;
  }
  
  /* Logo Styles */
  .logo {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .logo a {
    text-decoration: none;
  }
  
  .logo-img {
    max-width: 250px;
    height: auto;
  }
  
  /* Glass-effect Navigation with Hover Effects */
  .glass-nav {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
  }
  
  .glass-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  
  .glass-nav ul li a {
    text-decoration: none;
    color: #f0f0f0;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .glass-nav ul li a:hover {
    color: #ddd;
  }
  
  .glass-nav ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #f0f0f0;
    left: 0;
    bottom: -3px;
    transition: width 0.3s ease;
  }
  
  .glass-nav ul li a:hover::after {
    width: 100%;
  }
  
  .welcome h3 {
    margin-top: 1.5rem;
    color: #f0f0f0;
    font-size: 1.75rem;
  }
  
  .welcome p {
    margin-top: 0.5rem;
    color: #ccc;
    font-size: 1rem;
  }
  
  /* Right Column */
  .panel-right {
    flex: 1;
    padding: 2rem;
    position: relative;
  }
  
  /* Referrer Toast Notification - Improved */
  .toast {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    border-left: 4px solid #00796b;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    animation: slideIn 0.8s forwards;
  }
  
  .toast-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.75rem;
  }
  
  .toast-text {
    font-size: 0.95rem;
    color: #00796b;
    font-weight: bold;
  }
  
  /* Alert Boxes */
  .alerts {
    margin-bottom: 1rem;
  }
  
  .alert {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    opacity: 0;
    animation: slideIn 0.8s forwards;
  }
  
  .alert i {
    margin-right: 0.5rem;
  }
  
  /* Success Alert */
  .alert.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
  }
  
  /* Error Alert */
  .alert.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
  }
  
  /* Form Container */
  .form-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #212121;
  }
  
  .input-group {
    position: relative;
    margin-bottom: 1rem;
  }
  
  .input-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
  }
  
  .input-group input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    transition: border 0.3s ease;
  }
  
  .input-group input:focus {
    outline: none;
    border-color: #212121;
  }
  
  button {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 4px;
    background: #212121;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
  }
  
  button:hover {
    background: #333;
  }
  
  /* TOS & Privacy Message */
  .tos-privacy {
    text-align: center;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #555;
  }
  
  .tos-privacy a {
    text-decoration: none;
    color: #212121;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .tos-privacy a:hover {
    color: #333;
  }
  
  /* Form Footer */
  .form-footer {
    text-align: center;
    margin-top: 1.25rem;
  }
  
  .form-footer .link {
    text-decoration: none;
    color: #212121;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .form-footer .link::after {
    content: "";
    display: block;
    width: 0%;
    height: 2px;
    background: #212121;
    transition: width 0.3s;
    position: absolute;
    bottom: -3px;
    left: 0;
  }
  
  .form-footer .link:hover {
    color: #555;
  }
  
  .form-footer .link:hover::after {
    width: 100%;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  
  @keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .register-panel {
      flex-direction: column;
      width: 95%;
    }
    .panel-left {
      border-right: none;
      border-bottom: 1px solid #444;
    }
  }
  