.auth-page{
    margin: 0;
    min-height: 100vh;
    background-color: #0f051d;
    background-image:
        linear-gradient(135deg, rgba(120,0,255,0.08) 25%, transparent 25%),
        linear-gradient(225deg, rgba(120,0,255,0.08) 25%, transparent 25%),
        linear-gradient(45deg, rgba(120,0,255,0.08) 25%, transparent 25%),
        linear-gradient(315deg, rgba(120,0,255,0.08) 25%, #0f051d 25%);
    background-size: 60px 60px;
    background-position:
        0 0,
        0 0,
        30px 30px,
        30px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-container{
    text-align: center;
    background: rgba(41, 11, 71, 0.671);
    border: 1px solid rgba(113, 47, 175, 0.397);
    border-radius: 6px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    padding: 22px 36px;
    width: 100%;
    max-width: 500px;
}

.logo{
    color:#ffffff;
    margin-bottom: 10px;
    font-size: 4em;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.521);
}

.entry{
    color: #912bff8f;
    text-shadow: 1px 1px 0px rgb(0, 0, 0);
    margin-bottom: 25px;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-top: 0;
}

.auth-container input{
    background: rgba(255,255,255,0.03);
    border: 1px solid #7c3aed;
    color: white;
    padding: 16px 16px;
    border-radius: 3px;
    outline: none;
    transition: 0.2s ease;
    font-size: 16px;
}

.auth-container input:focus {
    border-color: #c084fc;
    box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.15);
}

.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-container button{
    width:100%;
    padding:14px;
    background:#6a11cb;
    border:none;
    color:white;
    border-radius:3px;
    font-size:16px;
    cursor:pointer;
    margin-top:10px;
}

.auth-container button:hover{
    background:#5a0fb2;
    transform: translateY(-2px);
}

.auth-link {
    margin-top: 20px;
    color: #aaa;
    font-size: 16px;
}

.auth-link a {
    color: #a855f7;
    text-decoration: none;
    font-weight: bold;
}

.auth-link a:hover {
    text-decoration: underline;
}

.auth-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    color: #ffffff;
    border: 1px solid #600fac;
    border-left: 4px solid #5911a1;
    padding: 14px 18px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}
.hidden { 
    display: none; 
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 14px 45px 14px 14px;
    border-radius: 3px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #a855f7;
    display: flex;
    align-items: center;
}

.toggle-password svg {
    width: 18px;
    height: 18px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px rgba(142, 39, 245, 0.199) inset;
    -webkit-text-fill-color: white;
    border: 1px solid #7c3aed;
    transition: background-color 5000s ease-in-out 0s;
}

@media (max-width: 768px) {
    .auth-page {
        padding: 20px 16px;
        align-items: center;
    }

    .auth-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .auth-container {
        width: 100%;
        max-width: 100%;
        padding: 28px 18px 24px 18px;
        border-radius: 12px;
    }

    .logo {
        font-size: 3rem;
        margin-bottom: 8px;
    }

    .entry {
        font-size: 1.1rem;
        letter-spacing: 2px;
        margin-top: 0;
        margin-bottom: 22px;
    }

    .auth-container form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .auth-container input {
        padding: 14px;
        font-size: 15px;
    }

    .auth-container button {
        padding: 14px;
        font-size: 16px;
        margin-top: 4px;
    }

    .auth-link {
        margin-top: 18px;
        font-size: 13px;
        text-align: center;
        line-height: 1.4;
    }

    .toast {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        font-size: 13px;
        padding: 12px 14px;
    }
}