* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.login-body {
    background-color: #010103;
    background-image:
        linear-gradient(rgba(0,0,0,0.10), rgba(0,0,0,0.18)),
        url('/static/img/bg-login.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.ambient-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 51, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

.login-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.15); 
    z-index: 2;
}

/* Fereastra principală redusă ca dimensiuni, mult mai elegantă și compactă */
.login-glass-panel {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 0, 51, 0.3);
    border-bottom: 1px solid rgba(255, 0, 51, 0.4);
    border-radius: 20px;
    padding: 22px 26px;
    width: 100%;
    max-width: 330px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 0, 51, 0.15);
    text-align: center;
    position: relative;
}

.login-header { margin-bottom: 16px; }

.logo-badge {
    display: inline-block;
    background: rgba(255, 0, 51, 0.12);
    border: 1px solid rgba(255, 0, 51, 0.3);
    color: #ff0033;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.logo-icon { color: #ff0033; font-style: italic; }

.logo-title {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.text-gradient {
    background: linear-gradient(90deg, #fff 0%, #ff0033 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle { color: #8a8a93; font-size: 11px; font-weight: 500; }

.input-group {
    position: relative;
    margin-bottom: 10px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 13px;
    z-index: 3;
    transition: 0.3s;
}

.input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 14px 12px 42px; /* Mai compact pe înălțime */
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus {
    border-color: #ff0033;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 0 15px rgba(255, 0, 51, 0.25), inset 0 0 8px rgba(255, 0, 51, 0.1);
}

.input-group input:focus ~ i {
    color: #ff0033;
    text-shadow: 0 0 8px rgba(255, 0, 51, 0.5);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 11px;
}

.login-options label {
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
}

.login-options input[type="checkbox"] {
    accent-color: #ff0033;
    width: 13px;
    height: 13px;
    cursor: pointer;
}

.login-options a {
    color: #ff0033;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.login-options a:hover {
    text-shadow: 0 0 8px rgba(255, 0, 51, 0.6);
}

.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #ff0033 0%, #a80022 100%);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 0, 51, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 0, 51, 0.5);
    background: linear-gradient(135deg, #ff1a40 0%, #b80026 100%);
}

.login-footer-security {
    margin-top: 14px;
    font-size: 10px;
    color: #777;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}

/* IKM login visual refinement - preserve artwork visibility */
.login-wrapper { background:rgba(0,0,0,.05) !important; }
.login-glass-panel {
    background:rgba(7,8,12,.72) !important;
    backdrop-filter:blur(14px) saturate(115%) !important;
    -webkit-backdrop-filter:blur(14px) saturate(115%) !important;
}
