/* Login CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 400px;
    width: 100%;
    padding: 0 20px;
    z-index: 10;
}

.back-home {
    position: fixed;
    top: 30px;
    left: 30px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.back-home:hover {
    color: #00d4ff;
    transform: translateX(-5px);
}

/* Glow Effects */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    width: 300px;
    height: 300px;
    background: #00d4ff;
    top: 20%;
    left: 10%;
    animation: glow-move-1 20s infinite alternate;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: #0099cc;
    bottom: 20%;
    right: 10%;
    animation: glow-move-2 25s infinite alternate;
}

@keyframes glow-move-1 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 50px); }
}

@keyframes glow-move-2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, -50px); }
}

.login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 30px;
    height: 30px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.xeno {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    letter-spacing: 2px;
}

.ware {
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4);
}

.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.links {
    text-align: center;
}

.links p {
    color: rgba(255, 255, 255, 0.7);
}

.links a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .login-card {
        padding: 2rem;
    }
    
    .back-home {
        top: 15px;
        left: 15px;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
