﻿

.login-card-top {
    background: linear-gradient(135deg, #178db3, #0d6efd);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
}

/* 🔥 ICON STYLE */
.login-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* ICON */
    .login-icon i {
        font-size: 34px;
        color: #fff;
    }

/* TEXT */
.login-card-top h4 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.login-card-top p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
}


* {
    box-sizing: border-box;
}

body {
    background: #eef2f7;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
}

/* 🔥 WIDTH FIX */
.login-wrapper {
    width: 100%;
    max-width: 650px;
    padding: 1rem;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e4e8ee;
    overflow: hidden;
}

.login-card-top {
    background: #178db3;
    padding: 2rem 2rem 1.75rem;
    text-align: center;
}

/* 🔥 BIGGER LOGO */
.login-logo-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    overflow: hidden;
}

    /* 🔥 IMAGE FIX (NO CUT) */
    .login-logo-circle img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 6px;
    }

.login-card-top h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.login-card-top p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin: 0;
}

.login-card-body {
    padding: 2rem 2.5rem 1.8rem;
}

.login-field {
    margin-bottom: 1.2rem;
}

    .login-field label {
        display: block;
        font-size: 13px;
        font-weight: 500;
        color: #555;
        margin-bottom: 6px;
    }

.login-input-wrap {
    position: relative;
}

    .login-input-wrap .field-icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #aaa;
        font-size: 16px;
    }

    .login-input-wrap .form-control {
        height: 48px;
        padding: 0 12px 0 40px;
        border: 1px solid #dde1e7;
        border-radius: 8px;
        font-size: 14px;
        color: #333;
        background: #fafbfc;
        transition: border-color .2s, box-shadow .2s;
    }

        .login-input-wrap .form-control:focus {
            border-color: #178db3;
            box-shadow: 0 0 0 3px rgba(23, 141, 179, 0.12);
            background: #fff;
        }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
    font-size: 16px;
}

    .password-toggle:hover {
        color: #178db3;
    }

.btn-login {
    width: 100%;
    height: 48px;
    background: #178db3;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0.7rem;
    transition: background .2s;
}

    .btn-login:hover {
        background: #1580a8;
    }

.login-card-footer {
    text-align: center;
    padding: 0 2rem 1.5rem;
    font-size: 12px;
    color: #aaa;
}

.text-danger {
    font-size: 12px;
}

