body {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    min-height: 100vh; 
    padding: 3rem 1rem;  
    padding-bottom: 3rem;
    background-color: #f3f4f6;
    font-family: 'Inter', sans-serif; 
}

.form-container {
    width: 100%;
    max-width: 56rem; /* 4xl equivalent (~896px) */
    padding: 2rem; /* 32px */
    background-color: white;
    border-radius: 1rem; /* xl equivalent (16px) */
    box-shadow: 0 0 0 1px #f3f4f6,  0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
}

.form-title {
    font-size: 2rem; 
    line-height: 2.5rem; /* standard line-height for text-4xl */
    font-weight: 700; 
    color: rgb(49, 140, 218); /* A typical value for text-gray-900 */
    text-align: center;
    margin-bottom: 1.5rem;
}

.sub-heading {
    font-size: 1.25rem;  
    line-height: 2rem;  
    font-weight: 600;      
    color: rgb(49, 140, 218);    
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.5rem; 
}

 .form-group {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 (Default: Single Column) */
    gap: 1.5rem; /* gap-6 (24px) */
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Helper text */
.helper-text {
  font-size: 0.75rem;
  color: #6b7280; /* text-gray-500 */
}

.form-input {
    display: block;
    width: 100%;
    padding: 0.75rem; /* p-3 (12px) */
    font-size: 0.875rem; /* sm:text-sm */
    line-height: 1.25rem;
    border: 1px solid #d1d5db; /* border-gray-300 */
    border-radius: 0.5rem; /* rounded-lg (8px) */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

        /* Focus State (focus:ring-blue-500 and focus:border-blue-500) */
.form-input:focus {
    border-color: #3b82f6; /* Blue-500 border */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); /* Blue focus ring */
    outline: none;
}
   
.submit-btn {
  width: 100%;
  background-color: rgb(52, 151, 218); /* blue-600 */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #1d4ed8; /* blue-700 */
}

#instructionMsg {
    font-size: 0.7rem;
    color: gray;
}
/*  Responsive design*/

@media (min-width: 1024px) {

    body {
        padding-left: 2rem; 
        padding-right: 2rem; 
    }
}

@media (min-width: 768px) {
    .form-group { 
    /* grid-template-columns: repeat(2, minmax(0, 1fr)); md:grid-cols-2 */
    grid-template-columns: 1fr 3fr; 
    }
}

@media (min-width: 640px) {

    body { 
        padding-left: 1.5rem; 
        padding-right: 1.5rem; 
    }
}



