@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.nav {
    background: linear-gradient(to bottom, rgba(51, 51, 51, 0.70) 0%, rgba(51, 51, 51, 0) 100%);
    color: white;
    padding: 20px 0;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo {
    height: 70px;
    margin-left: 40px;
}

.nav ul {
    list-style: none;
    margin: 0 40px 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav li {
    margin: 0 15px;
    font-weight: 600;
}

.nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav a:hover {
    color: #ff4081;
}

.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.heroHeader {
    background-image: url('../Assets/timplatoLoginBanner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loginContainer {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
    padding: 36px 32px 28px 32px;
    min-width: 320px;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signupForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.formRow {
    display: flex;
    gap: 16px;
}

.formRow .formGroup {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
}



.formTitle {
    text-align: left;
    font-size: 1.6rem;
    font-weight: 700;
    color: #4b3c7a;
    margin-bottom: 10px;
}

.formLabel {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.formInput {
    padding: 9px 12px;
    border-radius: 6px;
    border: 1px solid #bdbdbd;
    font-size: 1rem;
    background: #f7f7fa;
    transition: border 0.2s;
}

.formInput:focus {
    border: 1.5px solid #7c5fe6;
    outline: none;
}

.formButton {
    margin-top: 8px;
    padding: 10px 0;
    border-radius: 6px;
    border: none;
    background: #7c5fe6;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.formButton:hover {
    background: #5a3bb3;
}

/* Center buttons and make them full-width */
.buttonsRow {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* space between buttons */
    align-items: center;
    width: 100%;
}

/* All buttons in this row same width as input fields */
.buttonsRow .formButton {
    width: 100%;
    padding: 12px 0;
    /* same height for both */
    font-size: 1.1rem;
}

/* Google button style */
.googleButton {
    background: #ffffff;
    color: #000;
    border: 1px solid #bdbdbd;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* space between icon and text */
}

.googleButton:hover {
    background: #f1f1f1;
}

/* Google icon inside button */
.googleIcon {
    width: 20px;
    height: 20px;
}

.signupPrompt {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #666;
}

.signupLink {
    color: #7c5fe6;
    text-decoration: none;
}

.signupLink:hover {
    text-decoration: underline;
}

.footer {
    background: rgba(32, 32, 32, 0.7);
    color: white;
    padding: 12px 0;
    text-align: center;
}

.input-error {
    position: absolute;
    bottom: -2px;
    /* Place it just below the input field */
    left: 0;
    color: red;
    font-size: 0.75rem;
    line-height: 1;
    pointer-events: none;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .formRow {
        flex-direction: column;
    }

    .formRow .formGroup {
        flex: 1 1 100%;
    }
}