* {
    box-sizing: border-box;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main form container */
.form-container {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 100%;
    height: auto; /* I HAVE ALSO ADDED THIS LINE IN ALTHOUGH IT MIGHT NOT DO ANYTHING*/
    max-width: 620px; /* I CHANGED THIS FROM 420PX    */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.6s ease-in-out;
}

/* Title */
.form-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #111827;
}

/* Input groups */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #374151;
}

/* Inputs */
.form-group input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Button */
.btn {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 0.6rem;
    background: #003366;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    
}
/*I HAVE ADDED THE STYLE BELOW JUTS FOR THE a tags THAT LOOK LIKE BUTTONS*/
a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    padding: 0.8rem;
    transition: background 0.2s, transform 0.1s;
}

.btn:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

/* Link under form */
.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-footer a {
    text-decoration: none;
    color: #4f46e5;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Small Screens (Phones) I ADDED THIS IS BUT DONT THINK IT WORKS AS IT SHOULD*/
@media (max-width: 600px) {

    .form-container {
        max-width: 100%;        
        margin: 1rem;
        font-size: 1.2rem;   /* Larger text */
        padding: 1.5rem;     /* More breathing room */

        input, select, textarea, button {
            font-size: 1.2rem;   /* Bigger input text */
            padding: 0.8rem;     /* Larger clickable area */
            width: 100%;         /* Full width for mobile */
            box-sizing: border-box;
            }

  label {
    font-size: 1.2rem;   /* Labels easier to read */
  }


 }

    .form-container h2 {
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}