    /* Apply box-sizing to all elements */
    * {
      box-sizing: border-box;
    }

    :root {
      --primary-color: #4A90E2;
      --secondary-color: #4A90E2; /* blue left nav */
      --error-color: #e74c3c;
      --success-color: #2ecc71;
    }
    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      margin: 0;
      padding: 0;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      background: white;
      box-sizing: border-box;
      width: 100%;
      overflow-x: hidden;
      max-width: 100vw;
    }
    .container {
      background: white;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.0);
      width: 100%;
      max-width: 100%;
      margin: 0;
      position: relative;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      overflow-x: hidden;
      box-sizing: border-box;
    }
    /* Widescreen layout */
    @media (min-width: 992px) {
      .container {
        flex-direction: row;
        align-items: stretch;
        min-height: 100vh;
        width: 100%;
        max-width: 1500px;
        margin: 0 auto;
        justify-content: center;
      }
      .left-column {
        flex: 0 0 auto;
        padding-right: 1.5rem;
        border-right: 1px solid #e1e1e1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 30%;
        max-width: 450px;
        min-width: 250px;
        padding-top: 50px;
        margin: 50px 0 50px 0;
      }
      .right-column {
        flex: 0 0 auto;
        width: 30%;
        max-width: 450px;
        min-width: 300px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 1.5rem 0 1.5rem;
      }
      .third-column {
        flex: 0 0 auto;
        background-color: var(--secondary-color);
        color: #f8f8f8;
        display: flex;
        justify-content: center;
        font-size: 1.2rem;
        font-weight: 600;
        text-align: center;
        line-height: 1.4;
        width: 20%;
        max-width: 300px;
        min-width: 300px;
        padding-top: 100px;
      }
      .responsive-logo {
        max-width: 250px;
      }
    }

    /* Large desktop screens */
    @media (min-width: 1600px) {
      .container {
        max-width: 1500px;
      }
    }

    /* Medium desktop screens */
    @media (min-width: 992px) and (max-width: 1200px) {
      .container {
        max-width: 95%;
        flex-wrap: wrap;
      }
      .left-column {
        width: 40%;
        padding-right: 1rem;
      }
      .right-column {
        width: 60%;
        padding: 100px 1rem 0 2rem;
      }
      .third-column {
        width: 100%;
        max-width: 100%;
        min-height: 100px;
        margin-top: 30px;
        padding: 1.5rem;
        border-radius: 6px;
      }
      input[type="email"],
      input[type="password"],
      button {
        padding: 0.5rem;
        font-size: 0.85rem;
      }
      .form-group {
        margin-bottom: 0.25rem;
      }
      label {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
      }
      .password-requirements {
        font-size: 0.7rem;
      }
      .terms-group {
        gap: 0.25rem;
      }
      .terms-group label {
        font-size: 0.75rem;
      }
    }

    /* Tablet layout */
    @media (min-width: 768px) and (max-width: 991px) {
      .container {
        flex-direction: column;
        padding: 2rem;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
      }
      .third-column {
        display: none;
      }
      .left-column, .right-column {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding: 1.5rem;
      }
      .left-column {
        border-right: none;
        border-bottom: 1px solid #e1e1e1;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
      }
      .responsive-logo {
        max-width: 220px;
        margin: 0 auto;
      }
    }

    /* Mobile layout */
    @media (max-width: 767px) {
      .third-column {
        display: none;
      }
      .container {
        padding: 1.5rem;
        max-width: 100%;
        width: 100%;
        margin: 0;
        background-color: white;
      }
      .left-column, .right-column {
        max-width: 100%;
        width: 100%;
        padding: 1rem 0;
      }
      .left-column {
        border-right: none;
        border-bottom: 1px solid #e1e1e1;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
      }
      .responsive-logo {
        max-width: 180px;
        margin: 0 auto 1rem auto;
      }
      h1 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
      }
      .admin-note {
        padding: 0 0.5rem;
      }
    }

    /* Small mobile devices */
    @media (max-width: 479px) {
      .container {
        padding: 1rem;
      }
      .modal-content {
        width: 95%;
        padding: 1.25rem;
      }
      .google-btn {
        font-size: 0.85rem;
      }
      .terms-group {
        margin-top: 0.75rem;
      }
    }
    .brand {
      text-align: center;
      margin-bottom: 1.5rem;
    }
    .brand-logo {
      font-size: 2rem;
      font-weight: 800;
      color: var(--primary-color);
      margin-bottom: 0.25rem;
      letter-spacing: -0.5px;
    }
    .brand-logo span {
      color: #333;
    }
    .brand-tagline {
      font-size: 0.8rem;
      color: #666;
      margin-bottom: 1rem;
    }
    .brand-logo::before {
      content: "🐄";
      font-size: 1.5rem;
      display: block;
      margin-bottom: 0.25rem;
    }
    .error-message {
      color: var(--error-color);
      font-size: 0.8rem;
      text-align: center;
/*      margin-bottom: 0.125rem; */
/*      height: .7rem; */
/*      line-height: 1.0; */
    }
    .success-message {
      color: var(--success-color);
      font-size: 0.8rem;
      text-align: center;
      margin: 1rem 0;
    }
    h1 {
      text-align: center;
      color: #333;
      margin-bottom: 1.5rem;
      font-size: 1.25rem;
      margin-top: 0;
    }
    @media (min-width: 992px) {
      h1 {
        text-align: left;
      }
    }
    .form-group {
      margin-bottom: 0.375rem;
    }
    label {
      display: block;
      margin-bottom: 0.25rem;
      color: #555;
      font-weight: 500;
      font-size: 0.9rem;
    }
    input[type="email"],
    input[type="password"] {
      width: 100%;
      padding: 0.6rem;
      border: 2px solid #e1e1e1;
      border-radius: 4px;
      font-size: 0.9rem;
      transition: border-color 0.3s ease;
      box-sizing: border-box;
    }
    input[type="email"]:focus,
    input[type="password"]:focus {
      border-color: var(--primary-color);
      outline: none;
    }
    .password-requirements {
      font-size: 0.75rem;
      color: #666;
      margin-top: 0.125rem;
      margin-bottom: 0.125rem;
      line-height: 1.0;
    }
    .terms-group {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      margin-bottom: 0.25rem;
      margin-top: 1.0rem;
    }
    .terms-group input[type="checkbox"] {
      margin-top: 0.25rem;
    }
    .terms-group label {
      font-size: 0.8rem;
      color: #666;
    }
    .terms-group a {
      color: var(--primary-color);
      text-decoration: none;
    }
    .terms-group a:hover {
      text-decoration: underline;
    }
    button {
      width: 100%;
      padding: 0.75rem;
      background-color: var(--primary-color);
      color: white;
      border: none;
      border-radius: 4px;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    button:hover {
      background-color: #357abd;
    }
    button.loading {
      opacity: 0.7;
      cursor: not-allowed;
    }
    #registerForm {
      display: flex;
      flex-direction: column;
    }
    /* Google Sign-In and Divider Styles */
    .divider {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 1.0rem 0;
      color: #666;
      font-size: 0.8rem;
      text-align: center;
      width: 100%;
      overflow: hidden;
    }
    .divider::before,
    .divider::after {
      content: "";
      flex: 1;
      height: 1px;
      background-color: white;
      margin: 0 1rem;
    }
    .divider span {
      padding: 0 0.5rem;
    }
    .google-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: white;
      color: #757575;
      border: 1px solid #dadce0;
      border-radius: 4px;
      padding: 0.6rem 1rem;
      font-family: 'Roboto', sans-serif;
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
      transition: background-color 0.3s ease;
      width: 100%;
      margin-bottom: 1rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .google-btn:hover {
      background-color: #f8f9fa;
    }
    .google-btn img {
      margin-right: 0.75rem;
      width: 18px;
      height: 18px;
    }
    .login-link {
      text-align: center;
      margin-top: 1rem;
      font-size: 0.8rem;
      color: #666;
    }
    .login-link a {
      color: var(--primary-color);
      text-decoration: none;
    }
    .login-link a:hover {
      text-decoration: underline;
    }
    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.5);
      align-items: center;
      justify-content: center;
    }
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 1.5rem;
      border-radius: 4px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
      max-width: 450px;
      width: 90%;
      box-sizing: border-box;
    }
    .modal-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: #333;
    }
    .modal-message {
      font-size: 0.9rem;
      line-height: 1.4;
      margin-bottom: 1.5rem;
      color: #555;
    }
    .modal-buttons {
      display: flex;
      justify-content: flex-end;
      gap: 0.75rem;
    }
    .modal-btn {
      padding: 0.6rem 1rem;
      border-radius: 4px;
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
    }
    .modal-btn.cancel {
      background-color: #f1f1f1;
      color: #555;
      border: none;
    }
    .modal-btn.confirm {
      background-color: var(--primary-color);
      color: white;
      border: none;
    }
    .modal-btn.cancel:hover {
      background-color: #e5e5e5;
    }
    .modal-btn.confirm:hover {
      background-color: #357abd;
    }
    .admin-note {
      font-size: .8rem;
      margin-bottom: 1.5rem;
    }
    @media (min-width: 992px) {
      .admin-note {
        margin-top: 1.5rem;
      }
    }
    .responsive-logo {
      max-width: 200px;
      width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
    }
    @media (min-width: 992px) {
      .responsive-logo {
        margin: 0 auto 0 auto;
      }
    }
    .role-limits-note {
      font-size: 0.8rem;
      color: #666;
    }

    /* Make sure columns shrink when needed at various screen sizes */
    @media (min-width: 1201px) and (max-width: 1400px) {
      .left-column {
        width: 28%;
        min-width: 250px;
        padding-right: 1rem;
      }
      .right-column {
        width: 38%;
        min-width: 350px;
        padding: 100px 1rem 0 2rem;
      }
      .third-column {
        width: 22%;
        min-width: 200px;
        padding: 1rem;
        padding-top: 100px;
        font-size: 1.1rem;
      }
      .admin-note {
        font-size: 0.75rem;
      }
    }

    /* Ensure text doesn't overflow in admin notes */
    .admin-note {
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    /* Ensure all form elements stay within their containers */
    input, button, .h-captcha {
      max-width: 100%;
    }

    /* Fix hCaptcha width issues */
    .h-captcha > div {
      margin: 0 auto;
    }

    @media (max-width: 500px) {
      .modal-content {
        width: 95%;
        max-width: 400px;
        padding: 1.25rem;
      }
      .modal-buttons {
        flex-direction: column;
        gap: 0.5rem;
      }
      .modal-btn {
        width: 100%;
      }
    }

