/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, Roboto, Arial, sans-serif;
  }
  
  body {
    background-color: #f0f3f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
  }
  
  /* Wrapper */
  .page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 2rem 1rem;
  }
  
  /* Sign-in card */
  .signin-card {
    background: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    overflow: hidden;
  }
  
  /* Left panel */
  .left-pane {
    flex: 1;
    padding: 2rem;
    border-right: 1px solid #e0e0e0;
  }
  
  .placeholder-logo {
    width: 200px;
    height: 80px;
    display: flex;
    justify-content: left;
    align-items: center;
    margin-bottom: 1.5rem;
    border-radius: 200px / 10px;
  }
  
  .logo-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  .title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #202124;
  }
  
  .subtitle {
    font-size: 1rem;
    color: #5f6368;
  }
  
  .subsubtitle {
    font-size: 0.6rem;
    color: #5f6368;
  }
  
  .app-name {
    color: #e8701a;
    font-weight: 500;
  }
  
  /* Right panel */
  .right-pane {
    flex: 1;
    padding: 2rem;
  }
  
  .input-group {
    margin-bottom: 1rem;
  }
  
  .input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #5f6368;
  }
  
  .input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 1rem;
  }
  
  .input-group input:focus {
    border-color: #1a73e8;
    outline: none;
    box-shadow: 0 0 0 1px #1a73e8;
  }
  
  .links {
    margin: 0.5rem 0 1.5rem;
  }
  
  .links a {
    font-size: 0.9rem;
    color: #1a73e8;
    text-decoration: none;
  }
  
  .links a:hover {
    text-decoration: underline;
  }
  
  .policy {
    font-size: 0.8rem;
    color: #5f6368;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }
  
  .policy a {
    color: #1a73e8;
    text-decoration: none;
  }
  
  .policy a:hover {
    text-decoration: underline;
  }
  
  /* Actions */
  .actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .link {
    font-size: 0.9rem;
    color: #1a73e8;
    text-decoration: none;
  }
  
  .link:hover {
    text-decoration: underline;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
  }
  
  .btn.primary {
    background-color: #1a73e8;
    color: white;
  }
  
  .btn.primary:hover {
    background-color: #1669c1;
  }
  
  /* Footer */
  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 1rem 0;
    font-size: 0.85rem;
    color: #5f6368;
  }
  
  .footer-links a {
    margin-left: 1rem;
    text-decoration: none;
    color: #5f6368;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  .lang-select {
    cursor: pointer;
  }
  
  /* Responsive */
  @media (max-width: 700px) {
    .signin-card {
      flex-direction: column;
    }
    .left-pane {
      border-right: none;
      border-bottom: 1px solid #e0e0e0;
      text-align: center;
    }
    .placeholder-logo {
      justify-content: center;
    }
  }
  
  /* Modal Base */
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  
  /* Modal Content Box */
  .modal-content {
    background: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeIn 0.3s ease;
  }
  
  @keyframes fadeIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  .close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    color: #666;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    float: right;
  }
  
  .close:hover {
    color: #000;
  }
  
  /* Landing Page Styles */
  .landing-body {
    background: linear-gradient(135deg, #f7faff, #e4ecf9);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  .landing-container {
    background: white;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 700px;
    text-align: center;
  }
  
  .landing-logo {
    width: 120px;
    margin-bottom: 1rem;
  }
  
  .landing-content p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .agreement {
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #555;
  }
  
  .agreement label,
  .agreement input[type="checkbox"] {
    cursor: pointer;
  }
  
  #continueBtn:disabled {
    background-color: #7099d6;
    cursor: not-allowed;
  }
  
  /* Additional responsive improvements */
  @media (max-width: 480px) {
    .landing-container {
      padding: 1.5rem;
      margin: 1rem;
    }
    
    .footer {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.5rem;
    }
    
    .footer-links a {
      margin-left: 0;
    }
  }