.app-main > * {
    position: relative;
    z-index: 1;
}

.app-main {
    font-family: 'Quicksand', sans-serif;
    background: url('/images/petsbg.jpg') center/cover no-repeat fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ADDED: Optional overlay to make content more readable */
.app-main::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.3); /* Dark overlay at 30% opacity */
z-index: 0;
pointer-events: none;
}

/* Two-column layout container */
.landing-container {
    flex: 1;
    display: flex;
    align-items: stretch; /* CHANGED: stretch to make children same height */
    justify-content: center;
    padding: 1.5rem;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Both containers exactly the same - with fixed dimensions */
.about-section,
.login-card {
    width: 480px;
    max-width: 480px;
    min-height: 650px; /* ADDED: fixed minimum height */
    background-color: #ffffffdd;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 40px;
    box-shadow: 0 30px 45px -20px rgba(176, 130, 95, 0.5), 0 10px 20px -5px rgba(0,0,0,0.08);
    padding: 2.5rem 2.2rem;
    border: 2px solid #fff9f0;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.about-section:hover,
.login-card:hover {
    transform: scale(1.01);
}

/* Make content fill the space */
.about-section {
    justify-content: space-between; /* Spread out content */
}

.login-card {
    justify-content: center; /* Center content vertically */
}

.about-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #b45f3a;
    text-decoration: none;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-section h2 i {
    color: #f7b787;
    font-size: 2rem;
}

.about-section p {
    color: #6b4e3b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    flex: 1; /* Take available space */
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.2rem;
    color: #6b4e3b;
    font-size: 1.1rem;
}

.feature-list li i {
    width: 30px;
    color: #f7b787;
    font-size: 1.3rem;
}

.feature-list li span {
    flex: 1;
}

.stats-banner {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #f5d5bc;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #b45f3a;
}

.stat-label {
    color: #a07a60;
    font-size: 0.9rem;
}

@keyframes fadeInLeft {
    from {
    opacity: 0;
    transform: translateX(-30px);
    }
    to {
    opacity: 1;
    transform: translateX(0);
    }
}

.login-card label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #6b4e3b;
    margin-bottom: 6px;
    margin-left: 5px;
}

.password-wrapper {
    width: 100%;
}

.forgot-link {
    text-align: right;
    margin-top: 0px;
    margin-bottom: 0.5rem;
    margin-right: 8px;
}

.forgot-link a {
    color: #be7c5b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: border 0.2s;
}

.forgot-link a:hover {
    border-bottom: 2px solid #f0ad7b;
}

.btn-login {
    width: 100%;
    background: linear-gradient(105deg, #e2976b, #d88253);
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 15px 20px -10px #d6a182;
    transition: 0.15s linear;
    margin: 1rem 0 1.2rem 0;
    border: 1px solid #f7be97;
}

.btn-login:hover {
    background: linear-gradient(105deg, #d88253, #c46f45);
    box-shadow: 0 18px 25px -10px #b47b5f;
    transform: translateY(-2px);
}

.btn-login:active {
    transform: translateY(2px);
    box-shadow: 0 5px 12px -5px #b78567;
}

.signup-prompt {
    text-align: center;
    font-weight: 500;
    color: #755f4e;
}

.signup-prompt a {
    color: #c27246;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #fad6bd;
}

.signup-prompt a:hover {
    color: #a8582e;
    border-bottom: 2px solid #c27246;
}

.login-card hr {
    border: 1px solid #fadccb;
    margin: 1.2rem 0 0.8rem 0;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1000px) {
    .landing-container {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    }

    .about-section,
    .login-card {
    min-height: auto; /* Remove min-height on mobile */
    }
}

@media (max-width: 500px) {
    .about-section,
    .login-card {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1.5rem;
    min-height: auto;
    }

    .brand h1 {
    font-size: 2rem;
    }

    .paw-icon {
    font-size: 2.2rem;
    }

    .about-section h2 {
    font-size: 1.8rem;
    }

    .stats-banner {
    flex-direction: column;
    gap: 1rem;
    }
}
