
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html, body {
    height: 100%;
}


body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff;
    display: flex;
    flex-direction: column; 
    min-height: 100vh;
    justify-content: flex-start; 
    align-items: stretch;
    color: black;
    padding: 1rem;
    line-height: 1.6;
}


.page-content {
    flex: 1; /* takes the remaining vertical space */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Login card */
.form-container {
    background-color: #ffffff;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    min-width: 300px;
    text-align: center;
}

/* Logo round badge */
.logo-container {
    width: clamp(48px, 12vw, 60px);
    height: clamp(48px, 12vw, 60px);
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin: 0 auto 1.5rem;
    cursor: pointer;
}

.logo-container:hover {
    transform: scale(1.1);
}

.logo-text {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Heading */
h2 {
    margin: 0 0 1.8rem;
    font-weight: 600;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    color: #1c1e21;
}

/* Form basics */
form {
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.2rem;
    text-align: left;
}

/* Material icon password toggle alignment */
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}

/* Inputs */
input {
    width: 100%;
    padding: clamp(12px, 3vw, 14px);
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: border-color 0.3s;
    background: #fff;
    color: inherit;
}

input::placeholder {
    color: #999;
}

input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: clamp(12px, 3vw, 14px);
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #3d8b40;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Links area below form */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

a {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

a:hover {
    color: #4CAF50;
}



footer {
    background: #ffffff;
    padding: 1.5rem 2.5rem;
    color: #FFFFFF;
    position: relative;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columns-wrapper {
    display: flex;
    flex: 1;
    gap: 2.5rem;
}

.footer-column h4 {
    color: #A9A9A9;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.625rem;
}

.footer-column a {
    color: black;
    text-decoration: none;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #4CAF50;
}

.footer-copyright {
    color: black;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
}

.copyright-icon {
    font-size: 1rem;
}

/* Responsive for footer and page */
@media (max-width: 768px) {
    footer {
        padding: 1.5rem 1rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-columns-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    .footer-copyright {
        margin-top: 0;
        justify-content: center;
    }

    /* Slight adjustments for the form on medium/smaller screens */
    .form-container {
        max-width: 420px;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1.25rem 0.75rem;
    }
    .footer-columns-wrapper {
        gap: 1.25rem;
    }

    body {
        padding: 0.5rem;
    }

    .form-container {
        padding: 1.5rem 1.2rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .form-group {
        margin-bottom: 1rem;
    }
}

/* Larger screens: slightly bigger padding for the card */
@media (min-width: 768px) {
    .form-container {
        padding: 2.5rem;
    }
}
