/* Global styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fceabb, #f8b500);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Centering container */
  .container {
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Shared card styling for login, register, and card generator pages */
  .login-card,
  .register-card,
  .card-generator {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    width: 100%;
    max-width: 500px;  /* Adjusted to be a bit wider if needed */
    text-align: center;
  }
  
  .login-card h1,
  .register-card h1,
  .card-generator h1 {
    color: #f8b500;
    margin-bottom: 30px;
    font-weight: 600;
  }
  
  /* Form styling (applies to all forms in the shared cards) */
  .login-card form,
  .register-card form,
  .card-generator form {
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  
  .login-card label,
  .register-card label,
  .card-generator label {
    margin: 12px 0 5px;
    font-weight: 500;
    color: #555;
  }
  
  .login-card input,
  .register-card input,
  .card-generator input {
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    margin-bottom: 20px;
  }
  
  .login-card input:focus,
  .register-card input:focus,
  .card-generator input:focus {
    border-color: #f8b500;
    outline: none;
  }
  
  /* Button styling (applies to all buttons in the shared cards) */
  .login-card button,
  .register-card button,
  .card-generator button {
    background: #f8b500;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .login-card button:hover,
  .register-card button:hover,
  .card-generator button:hover {
    background: #d69500;
  }
  
  /* Link styling for navigation between pages (if needed) */
  .login-card .signup,
  .register-card .login-link {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
  }
  
  .login-card .signup a,
  .register-card .login-link a {
    color: #f8b500;
    text-decoration: none;
    font-weight: 600;
  }
  
  .login-card .signup a:hover,
  .register-card .login-link a:hover {
    text-decoration: underline;
  }

  .card-preview {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 20px auto;
  }
  
  /* Heading for the card preview */
  .card-preview h1 {
    color: #f8b500;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  /* Styling for the personalized card container */
  .card {
    background: #fefefe;
    border: 2px dashed #f8b500;
    padding: 30px;
    border-radius: 12px;
    margin: 20px 0;
  }
  
  /* Styling for the sender and recipient headings */
  .card h2 {
    margin: 10px 0;
    color: #333;
  }
  
  /* Styling for the message paragraph */
  .card p {
    margin: 20px 0;
    color: #555;
    font-size: 18px;
    line-height: 1.6;
  }
  
  /* Link styling for creating another card */
  .new-card-link {
    display: inline-block;
    margin-top: 20px;
    color: #f8b500;
    font-weight: 600;
    text-decoration: none;
  }
  
  .new-card-link:hover {
    text-decoration: underline;
  }
