
body { display: block; }

.auth-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 48px rgba(0,0,0,.14);
    padding: 40px 40px 32px;
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.back-link {
    align-self: flex-start;
    font-size: .85rem;
    color: var(--muted);
    transition: color .2s;
}

.back-link:hover { color: var(--orange); }

.auth-logo { height: 52px; width: auto; }

.auth-title {
    color: var(--purple);
    font-size: 1.8rem;
    text-align: center;
}

.forget-desc {
    font-size: .93rem;
    color: var(--muted);
    text-align: center;
    line-height: 1.7;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
}

.form-input {
    width: 100%;
    height: 44px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 0 14px;
    font-size: .93rem;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    transition: border-color .2s;
    outline: none;
}

.form-input:focus { border-color: var(--orange); }

.auth-btn {
    width: 100%;
    height: 46px;
    background: #42c279;
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .15s;
    font-family: 'DM Sans', sans-serif;
}

.auth-btn:hover { background: #2fa562; transform: scale(1.02); }

.return-login {
    font-size: .88rem;
    color: var(--muted);
    transition: color .2s;
}

.return-login:hover { color: var(--orange); }

@media (max-width: 400px) {
    .auth-card { padding: 28px 20px 24px; 
    height: 70px;
    display: inline;
}
.maindiv {
    background-color: white;
    width: 600px;
    box-shadow: 2px 6px 26px black;
    margin-left: 350px;
    margin-top: 50px;
    text-align: center;
    height: 400px;
}
.bh {
    text-align: end ;
    padding-right: 10px;
    padding-top: 10px;
}
.bh1 {
    text-decoration: none;
    color: grey;
}
.middle {
    color: grey;
    font-size: 17px;
}
.email {
    margin-left: -490px;
    padding-left: 25px;
    font-size: 20px;
}
#inp {
    width: 500px;
    margin-left: -7px;
    margin-top: -100px;
    height: 30px;
    padding-bottom: 20px;
}
.btn {
    background-color: #94f3bf;
    width: 510px;
    margin-top: 20px;
    border-radius: 10px;
    border: none;
    height: 40px;
}
.link {
    color: #3db973;
    font-weight: bold;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
}
}