/* Base body styling */
body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #f4f4f9;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px; /* spacing for small screens */
    box-sizing: border-box;
}

/* Sign-up container */
.signup-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 25px 20px;
    max-width: 400px;  /* same as login */
    width: 100%;
    box-sizing: border-box;
}

/* Heading */
.signup-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
}

/* Form groups */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
    color: #1f2937;
}

/* ===== Input fields: match login (filled, light blue) ===== */
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cfd9ff;           /* light blue border */
    border-radius: 8px;
    font-size: 15px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    box-sizing: border-box;
    background-color: #edf2ff;            /* filled background like login */
    color: #111827;
    box-shadow: inset 0 1px 2px rgba(13, 110, 253, 0.08);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-group input::placeholder {
    color: #6b7280;                        /* softer placeholder */
}

.form-group input:hover {
    border-color: #b9c7ff;
}

.form-group input:focus {
    outline: none;
    border-color: #0d6efd;                /* bootstrap-ish blue */
    background-color: #e7edff;            /* slightly brighter on focus */
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .15);
}

/* Button */
.signup-button {
    width: 100%;
    background-color: #0066cc;
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.signup-button:hover {
    background-color: #004999;
    transform: scale(1.03);
}

/* Login link */
.login-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.login-link a {
    color: #0066cc;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* ========== Responsive Adjustments ========== */
@media (max-width: 600px) {
    .signup-container {
        padding: 20px 15px;
    }

    .signup-container h2 {
        font-size: 20px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input {
        font-size: 14px;
        padding: 10px;
    }

    .signup-button {
        font-size: 15px;
        padding: 10px;
    }

    .login-link {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    body {
        padding: 10px;
    }

    .signup-container {
        border-radius: 6px;
        padding: 15px 12px;
    }

    .signup-container h2 {
        font-size: 18px;
    }

    .form-group input {
        font-size: 13px;
        padding: 9px;
    }

    .signup-button {
        font-size: 14px;
        padding: 9px;
    }
}


