/* Core Resets & Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none !important;
}

/* 1. Update the navbar alignment */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Keeps logo, links, and button vertically centered */
    padding: 15px 8%;   /* Slightly adjusted top/bottom padding */
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

/* 2. Update the logo container */
.logo {
    display: flex;
    align-items: center;
    max-width: 180px;
    margin-top: 10px;
}

/* 3. Fine-tune the image scaling */
.logo-img {
    width: 100%;
    height: auto;
    max-height: 45px; /* Shifting to 45px makes it perfectly proportional to the navbar */
    object-fit: contain;
    display: block;
}

.logo span {
    color: #2563eb; /* Primary CRM Blue */
}

.nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #2563eb;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Hero Split Screen Layout */
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    padding: 60px 8%;
    align-items: center;
    flex-grow: 1;
}

/* Left Content */
.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 20px;
}

.hero-text .highlight {
    color: #2563eb;
}

.hero-text p {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 30px;
}

.mini-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    font-weight: 500;
    color: #334155;
}

/* Right Content: Login Card */
.login-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.login-card h2 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 8px;
}

.login-card .subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
}

.label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-pass {
    font-size: 12px;
    color: #2563eb;
    text-decoration: none;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #475569;
}

.btn-login {
    width: 100%;
    background: #0f172a; /* Dark sleek aesthetic for button */
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-login:hover {
    background: #1e293b;
}

.card-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #64748b;
}

.card-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 40px 5%;
    }
    .mini-features {
        align-items: center;
    }
    .label-wrapper {
        justify-content: space-between;
    }
}