* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", system-ui;
    background: radial-gradient(circle at 20% 20%, #1e293b, #020617);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CARD */
.container {
    width: 380px;
    padding: 36px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

/* LOGO */
.logo {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: white;
	line-height: 22px;
}

.logo img {
    width: 32px;
    height: 32px;
    margin-right: 0px;
    vertical-align: middle;
    position: relative;
    top: -1px;         
}

.subtitle {
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    margin-top: 6px;
    margin-bottom: 24px;
}

/* INPUT */
.input-group {
    position: relative;
    margin-top: 12px;
}

input {
    width: 100%;
    padding: 14px 44px 14px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 14px;
}

input::placeholder {
    color: #64748b;
}

input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139,92,246,0.2);
}

/* FIX AUTOFILL */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,0.05) inset !important;
    box-shadow: 0 0 0 1000px rgba(255,255,255,0.05) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* EYE */
.toggle-pwd {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}

.toggle-pwd:hover {
    background: rgba(139,92,246,0.15);
    color: #8b5cf6;
}

/* BUTTON */
button.main {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button.main:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(139,92,246,0.3);
}

/* LINKS */
.links {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.links a {
    color: #8b5cf6;
    text-decoration: none;
}

/* DEMO BOX */
.demo-box {
    margin-top: 18px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.2);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    color: #c4b5fd;
}

.demo-box i {
    margin-top: 2px;
    color: #8b5cf6;
}

.demo-box span {
    color: #94a3b8;
    font-size: 11px;
}

.footer{
    text-align: center;	
    margin-top:28px;
    color:#64748b;
    font-size:12px;
}