/* Customer portal login page styles */

.login-page {
    min-height: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 5px 20px;
    position: relative;
    margin-top: 0;
    margin-bottom: -100px;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 -4px 12px rgba(0, 0, 0, 0.15), 4px 0 12px rgba(0, 0, 0, 0.15), -4px 0 12px rgba(0, 0, 0, 0.15);
    padding: 32px;
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-card .logo-container {
    margin-bottom: 17px;
    display: block;
    text-align: center;
    position: relative;
    z-index: 10;
}

.login-card .logo-container img {
    max-width: 130px;
    width: 130px;
    height: auto;
    display: inline-block;
    margin: 0 auto;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 10;
}

.login-card h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 21px;
}

.btn-google {
    width: 100%;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #3c4043;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s;
    margin-bottom: 14px;
}

.btn-google:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.btn-google svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.divider {
    display: flex;
    align-items: center;
    margin: 14px 0;
    color: #5f6368;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dadce0;
}

.divider span {
    padding: 0 16px;
}

.btn-otp {
    width: 100%;
    padding: 12px 20px;
    background: #4285f4;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 21px;
}

.btn-otp:hover {
    background: #357ae8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.login-links {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.login-links a {
    color: #4285f4;
    text-decoration: none;
    transition: color 0.2s;
}

.login-links a:hover {
    color: #357ae8;
    text-decoration: underline;
}

.login-page-wrapper nav {
    background-image: url(../images/hero-image.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    padding-top: 30px !important;
}

/* Portal-specific footer overrides */
footer {
    padding-bottom: 15px !important;
    margin-top: -50px !important;
}

footer img.shape-img {
    margin-top: -160px !important;
}

footer ul {
    margin-bottom: 8px !important;
    margin-top: 8px !important;
}

footer p {
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    .login-page {
        margin-bottom: 0 !important;
        padding-bottom: 40px !important;
        min-height: auto !important;
    }

    .login-card {
        padding: 30px 20px;
        margin-bottom: 0;
    }

    footer {
        margin-top: 0 !important;
        padding-top: 20px !important;
        padding-bottom: 30px !important;
        position: relative;
        z-index: 1;
    }

    footer img.shape-img {
        margin-top: 0 !important;
    }
}
