﻿@import url("//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css");

.login-block {
    background: #cad9e9;
    /*background: linear-gradient(to bottom, #e4f1ff, #378de9);*/
    float: left;
    width: 100%;
    padding: 125px 0;
}

.banner-sec {
    background: url(https://static.pexels.com/photos/33972/pexels-photo.jpg) no-repeat left bottom;
    background-size: cover;
    min-height: 500px;
    border-radius: 0 10px 10px 0;
    padding: 0;
}

.container {
    background: #fff;
    border-radius: 10px;
    filter: drop-shadow(5px 5px 10px #000000);
}

.carousel-inner {
    border-radius: 0 10px 10px 0;
}

.carousel-caption {
    text-align: left;
    left: 5%;
}

.login-sec {
    padding: 50px 30px;
    position: relative;
}

    .login-sec .copy-text {
        position: absolute;
        width: 80%;
        bottom: 20px;
        font-size: 13px;
        text-align: center;
    }

        .login-sec .copy-text i {
            color: #0489eb;
        }

        .login-sec .copy-text a {
            color: #0489eb;
        }

    .login-sec h2 {
        margin-bottom: 30px;
        font-weight: 800;
        font-size: 30px;
        color: #5c92c1;
    }

        .login-sec h2:after {
            content: " ";
            width: 100px;
            height: 5px;
            background: #FEB58A;
            display: block;
            margin-top: 20px;
            border-radius: 3px;
            margin-left: auto;
            margin-right: auto
        }

.btn-login {
    background: #6f90a9;
    color: #fff;
    font-weight: 600;
}

.patient-inline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 10px;
    margin-right: 8px;
    min-height: 40px;
    line-height: 1.1;
}

.patient-portal-cta {
    margin-top: 12px;
}

.portal-divider {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    margin-top: 8px;
}

.portal-divider__line {
    flex: 1;
    height: 0.8px;
    background: rgba(111, 144, 169, 0.4);
}

.portal-divider__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5c92c1;
    font-weight: 600;
}

.patient-portal-card {
    border: 1px solid rgba(111, 144, 169, 0.35);
    border-radius: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.patient-portal-card.compact {
    padding: 10px 12px;
    border-radius: 8px;
    gap: 10px;
}

.patient-portal-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #0f3a5b;
}

.patient-portal-card__text {
    font-size: 11px;
    color: #4d6f8d;
    margin-bottom: 0;
}

.patient-portal-card__button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
}

.patient-portal-card__button.btn-xs {
    font-size: 11px;
    line-height: 1.2;
}

.banner-text {
    width: 70%;
    position: absolute;
    bottom: 40px;
    padding-left: 20px;
}

    .banner-text h2 {
        color: #fff;
        font-weight: 600;
    }

        .banner-text h2:after {
            content: " ";
            width: 100px;
            height: 5px;
            background: #FFF;
            display: block;
            margin-top: 20px;
            border-radius: 3px;
        }

    .banner-text p {
        color: #fff;
    }

@media (max-width: 600px) {
    .login-block {
        padding: 20px 12px;
        min-height: 100vh;
        display: flex;
        align-items: flex-start;
        background: #ecf3fb;
    }

    section {
        width: 100%;
    }

    .container {
        max-width: 420px;
        margin: 0 auto;
        border-radius: 12px;
        filter: none;
        box-shadow: 0 14px 26px rgba(8, 45, 83, 0.12);
        padding: 22px 18px;
        border: 1px solid rgba(92, 146, 193, 0.18);
    }

    .row {
        margin: 0;
        flex-direction: column;
        gap: 0;
    }

    .login-sec {
        padding: 10px 6px 0;
        border-radius: 12px;
        background: transparent;
    }

        .login-sec h2 {
            font-size: 21px;
            text-align: center;
            margin-bottom: 18px;
        }

        .login-sec .copy-text {
            position: static;
            width: 100%;
            margin-top: 18px;
            font-size: 11px;
            color: #547fa5;
        }

    .login-form {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

        .login-form .form-group {
            margin-bottom: 0;
        }

        .login-form label {
            font-size: 11px;
            letter-spacing: 0.5px;
            color: #3f5b74;
            font-weight: 600;
        }

        .login-form .form-control {
            height: 42px;
            font-size: 14px;
            border-radius: 8px;
            border: 1px solid rgba(92, 146, 193, 0.35);
            background-color: #f9fbff;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

            .login-form .form-control:focus {
                border-color: #5c92c1;
                box-shadow: 0 0 0 4px rgba(92, 146, 193, 0.25);
            }

    .login-sec .form-check {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-top: 6px;
    }

    .login-sec .btn-login {
        width: 100%;
        float: none;
        margin-top: 14px;
        padding: 12px 0;
        font-size: 14px;
        border-radius: 8px;
        box-shadow: 0 12px 20px rgba(8, 45, 83, 0.16);
        text-transform: uppercase;
        letter-spacing: 0.8px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .login-sec .btn-login:active {
            transform: scale(0.98);
            box-shadow: 0 8px 20px rgba(8, 45, 83, 0.2);
        }

    .banner-sec {
        display: none;
    }

    .col-md-4,
    .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}