body {
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.logo i {
    font-size: 24px;
    color: #2563EB;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.crm-title {
    font-size: 20px;
}

.subtitle-1 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 30px;
}

.subtitle-2 {
    text-align: center;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    /* Extra left padding for icon */
    border: 1px solid #cbd5e1;
    border-radius: 15px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
    position: relative;
}

.form-control:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Email Icon inside input */
.email-input-wrapper {
    position: relative;
}

.email-input-wrapper .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
    /* So clicks pass through to input */
}

#email {
    padding-left: 2.5rem;
}

/* Password Icon inside input */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
}

#password {
    padding-left: 2.5rem;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    font-size: 1rem;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #334155;
}

.forgot-password {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 0.75rem;
    background: #2563EB;
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.btn-login:hover {
    background: #1d4ed8;
}

.signup-link {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

.signup-link a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}