/* Full screen background */
.login-wrapper {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column; /* FIX: stack items vertically */
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #2f4f2f 100%);
}


/* Container */
.login-container {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

/* FIX: logo size control */
.logo-wrapper img {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* Card */
.login-card {
    width: 100%;
    max-width: 420px; /* FIX: align with container */
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Input tweaks */
.input-icon {
    background: #f8f9fa;
    border-right: 0;
}

.input-field {
    border: 2px solid #ccc;
    border-left: 0;
    border-radius: 0 8px 8px 0;
}

.input-field {
    background: #fff !important;
    border: 1px solid #ccc;
    box-shadow: none !important;
}

/* remove weird group border issues */
.password-group .input-field {
    border-right: 0;
}

/* icon box */
.password-group .input-group-text {
    background: #fff;
    border: 1px solid #ccc;
    border-right: 0;
}

/* eye icon (inside input) */
.toggle-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-left: 0;
    cursor: pointer;
    
}

.toggle-btn i {
    color: #6c757d;
    
}

/* hover clean (no color jump) */
.toggle-btn:hover,
.toggle-btn:focus,
.toggle-btn:active {
    background: #fff !important;
    box-shadow: none !important;
}

.toggle-btn:hover i {
    color: #2f4f2f;
}

/* Text styles */
.text-light-soft {
    color: rgba(255,255,255,0.75);
}

.text-light-faded {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}

/* Prevent scroll */
body {
    overflow: hidden;
}