/* Import a clean, modern font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Apply font & background */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Form Box */
.styled-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

/* Title */
.styled-form h2 {
    text-align: center;
    font-size: 22px;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

/* Label */
label {
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
    color: #444;
}

/* Input Fields */
.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: all 0.3s ease-in-out;
}

.input-field:focus {
    border: 1px solid #4CAF50;
    background-color: #fff;
    outline: none;
}

/* Radio & Checkbox Groups */
.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Styled Button */
.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    transform: scale(1.02);
}

/* Modernized Checkboxes & Radio Buttons */
input[type="radio"], input[type="checkbox"] {
    accent-color: #4CAF50;
    transform: scale(1.2);
    margin-right: 5px;
}
.flashcard-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;   /* Changed from height to min-height */
  padding: 10px;
  overflow-y: auto;    /* Allow vertical scrolling if content exceeds viewport */
}