.auth-container {
    width: 420px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid #ff0000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.auth-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px;
    border: 3px solid #e74c3c;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.auth-container h1 {
    text-align: center;
    color: #000000;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 600;
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: #ffffff;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #000000;
    border: 1px solid #000000;
}

.tab-btn.active {
    background: #ff0000;
    color: white;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.5);
}

.auth-form {
    display: none;
    height: 300px;
}

.auth-form.active {
    display: block;
}

#login-form {
    height: 300px;
}

.auth-form input {
    width: 100%;
    padding: 8px;
    margin: 6px 0;
    border: 2px solid #000000;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    color: #000000;
}

.auth-form button {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.auth-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
    padding-left: 40px;
}

.password-toggle {
    position: absolute;
    left: 10px;
    cursor: pointer;
    user-select: none;
    z-index: 10;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.password-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

.login-welcome {
    text-align: center;
    margin-bottom: 20px;
    padding: 5px;
    background: rgba(255, 0, 0, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.login-welcome h3 {
    color: #ff0000;
    font-size: 1.4em;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.login-welcome p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
    line-height: 1.4;
}

.login-info {
    text-align: center;
    margin: 15px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.login-info p {
    color: #666;
    font-size: 0.85em;
    margin: 0;
    line-height: 1.3;
}

.password-toggle svg {
    transition: all 0.2s ease;
}

.password-toggle.hidden svg {
    opacity: 0.5;
}

.password-toggle.hidden svg path:first-child {
    stroke-dasharray: 4 4;
}

.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.message.success {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    font-weight: 700;
    font-size: 17px;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}