* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f0f13;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #ffffff;
}

.login-container {
    background: #1a1a24;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    border: 1px solid #2d2d3f;
}

.shop-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    background: linear-gradient(90deg, #8a2be2, #00d2ff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #a0a0b5;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background-color: #252533;
    border: 1px solid #3a3a52;
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #8a2be2;
    box-shadow: 0 0 8px rgba(138, 43, 226, 0.3);
}

.password-wrapper {
    position: relative;
}

#togglePassword {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #a0a0b5;
    transition: color 0.3s;
}

#togglePassword:hover {
    color: #00d2ff;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #8a2be2, #00d2ff);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.1s;
    margin-top: 10px;
}

.login-btn:hover {
    opacity: 0.9;
}

.login-btn:active {
    transform: scale(0.98);
}

.error-message {
    color: #ff4d4d;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 10px;
    min-height: 20px;
}