/* Modern Card Design */
.login-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(46, 125, 50, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.12);
}

.card-left {
    background: linear-gradient(135deg, var(--nesthub-primary) 0%, var(--nesthub-dark-green) 100%);
    color: white;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-right {
    background-color: white;
    padding: 3rem 2.5rem;
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-icon {
    background: var(--nesthub-bright-orange);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.logo-text {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--nesthub-light);
}

.logo-text span {
    color: var(--nesthub-bright-orange);
}

/* Form Styling */
.form-label {
    font-weight: 600;
    color: var(--nesthub-dark-gray);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid var(--nesthub-gray);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--nesthub-light-green);
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.15);
}

.input-group-text {
    background-color: white;
    border: 2px solid var(--nesthub-gray);
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    color: var(--nesthub-dark-gray);
    transition: all 0.3s;
}

.input-group .form-control {
    border-radius: 10px 0 0 10px;
}

.input-group-text:hover {
    background-color: var(--nesthub-light-gray);
    color: var(--nesthub-primary);
}

/* Button Styling */
.btn-login {
    background: linear-gradient(to right, var(--nesthub-primary), var(--nesthub-light-green));
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.85rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.btn-login:hover {
    background: linear-gradient(to right, var(--nesthub-dark-green), var(--nesthub-primary));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}

/* Remember Me Checkbox */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.2em;
    border: 2px solid var(--nesthub-gray);
}

.form-check-input:checked {
    background-color: var(--nesthub-primary);
    border-color: var(--nesthub-primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

.form-check-label {
    color: var(--nesthub-dark-gray);
    font-weight: 500;
}

/* Links */
.forgot-link {
    color: var(--nesthub-bright-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-link:hover {
    color: var(--nesthub-dark-orange);
    text-decoration: underline;
}

.register-link {
    color: var(--nesthub-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.register-link:hover {
    color: var(--nesthub-dark-green);
    text-decoration: underline;
}

/* Features List */
.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .card-left {
        padding: 2.5rem 2rem;
        border-radius: 20px 20px 0 0;
    }

    .card-right {
        padding: 2.5rem 2rem;
        border-radius: 0 0 20px 20px;
    }

    .main-container {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {

    .card-left,
    .card-right {
        padding: 2rem 1.5rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }
}

/* Footer */
.app-footer {
    background-color: var(--nesthub-primary);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Welcome Text */
.welcome-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--nesthub-dark);
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--nesthub-gray);
}

.divider-text {
    padding: 0 1rem;
    color: var(--nesthub-dark-gray);
    font-weight: 500;
    font-size: 0.9rem;
}