* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wrapper */
.login-wrapper {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* Card */
.login-card {
    background: #f5f5f5;
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    text-align: center;
    border-radius: 6px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Logo */
.logo-box img {
    width: 80px;
    margin-bottom: 20px;
}

/* Heading */
.login-card h1 {
    color: #4f7f5a;
    font-size: 24px;
    font-weight: 600;
}

.subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 35px;
}

/* Inputs */
.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input {
    width: 100%;
    padding: 12px 42px 12px 10px;
    border: 1px solid #999;
    background: transparent;
    font-size: 14px;
    outline: none;
}

/* Floating Label */
.input-group label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #777;
    background: #f5f5f5;
    padding: 0 6px;
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -6px;
    font-size: 12px;
    color: #4f7f5a;
}

/* Stroke Icons */
.icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
}

.icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #777;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.toggle-password:hover svg {
    stroke: #4f7f5a;
}

/* Button */
.login-btn {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #43a047;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }

    .login-card h1 {
        font-size: 20px;
    }
}
