/* =====================================================
   BODY
====================================================== */
html,
body {
    min-height: 100%;
    margin: 0;
}
body {
    background-color: #f3f7fa;
    background-image:url("../images/pharma-login-texture.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}
/* =====================================================
   PAGE
====================================================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 20px;
}
.login-container {
    width: 100%;
    max-width: 1120px;
}
/* =====================================================
   LOGIN CARD
====================================================== */
.login-card {
    background: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 16px;
    padding: 38px 40px;
    box-shadow:
        0 15px 45px rgba(26, 39, 52, 0.08);
}
/* =====================================================
   LOGO
====================================================== */
.login-logo {
    text-align: center;
    margin-bottom: 26px;
}
.login-logo img {
    max-width: 190px;
    max-height: 58px;
    object-fit: contain;
}
/* =====================================================
   HEADING
====================================================== */
.login-heading {
    text-align: center;
    margin-bottom: 28px;
}
.login-heading h1 {
    margin: 0 0 7px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
    color: #202733;
}
.login-heading p {
    margin: 0;
    color: #7f8996;
    font-size: 14px;
}
/* =====================================================
   LABEL
====================================================== */
.login-label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 500;
    color: #303945;
}
/* =====================================================
   INPUT
====================================================== */
.login-input-group {
    display: flex;
    align-items: stretch;
}
.login-input-icon {
    width: 46px;
    min-width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #dce2e8;
    border-right: 0;
    border-radius: 7px 0 0 7px;
    color: #8994a1;
}
.login-input {
    height: 46px;
    border: 1px solid #dce2e8;
    border-left: 0;
    border-radius: 0 7px 7px 0;
    font-size: 14px;
    box-shadow: none;
}
.login-input:focus {
    border-color: #80bdff;
    box-shadow: none;
}
.login-input:focus + .login-input-icon {
    border-color: #80bdff;
}
.login-input::placeholder {
    color: #a3abb5;
}
/* =====================================================
   TURNSTILE
====================================================== */
.turnstile-box {
    min-height: 65px;
    margin-top: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
/* =====================================================
   LOGIN BUTTON
====================================================== */
.login-button {
    width: 100%;
    height: 46px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
    border: 0;
}
/* =====================================================
   SIGNUP
====================================================== */
.signup-area {
    text-align: center;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #edf0f3;
    color: #858e99;
    font-size: 13px;
}
.signup-area a {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
}
.signup-area a:hover {
    text-decoration: underline;
}
/* =====================================================
   SECURITY INFO
====================================================== */
.security-info {
    text-align: center;
    margin-top: 18px;
}
.security-info .main {
    font-size: 12px;
    color: #7f8995;
}
.security-info .main i {
    margin-right: 4px;
}
.security-info .sub {
    font-size: 11px;
    color: #a5adb6;
    margin-top: 4px;
}
/* =====================================================
   COPYRIGHT
====================================================== */
.copyright {
    text-align: center;
    margin-top: 18px;
    font-size: 11px;
    color: #a3abb4;
}
/* =====================================================
   ADVERTISEMENT AREA
====================================================== */
.ads-section {
    width: 100%;
    padding-left: 15px;
}
.ads-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    padding: 0 3px;
}
.ads-label span:first-child {
    font-size: 11px;
    font-weight: 600;
    color: #7e8995;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}
.ads-label span:last-child {
    font-size: 10px;
    color: #a0a8b1;
}
/* =====================================================
   AD CARD
====================================================== */
.ads-card {
    background: #ffffff;
    border: 1px solid #e2e7ec;
    border-radius: 16px;
    padding: 8px;
    box-shadow:
        0 15px 45px rgba(26, 39, 52, 0.07);
}
.ads-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
/* =====================================================
   AD DESCRIPTION
====================================================== */
.ads-description {
    padding: 8px 8px 3px;
    font-size: 11px;
    color: #7d8792;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* =====================================================
   CAROUSEL BUTTONS
====================================================== */
.ads-card .carousel-control-prev,
.ads-card .carousel-control-next {
    width: 42px;
}
.ads-card .carousel-control-prev-icon,
.ads-card .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    background-size: 45%;
}
/* =====================================================
   DOTS
====================================================== */
.ads-dots {
    text-align: center;
    padding: 8px 0 2px;
}
.ads-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 3px;
    border-radius: 50%;
    background: #cbd2d9;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ads-dots span.active {
    width: 17px;
    border-radius: 10px;
    background: #7c8793;
}
/* =====================================================
   ERROR
====================================================== */
.login-error {
    border-radius: 7px;
    font-size: 13px;
}
/* =====================================================
   MOBILE
====================================================== */
@media (max-width: 991px) {
    .login-page {
        padding: 25px 15px;
    }
    .ads-section {
        padding-left: 0;
        margin-top: 20px;
    }
    .ads-image {
        height: 300px;
    }
}
@media (max-width: 767px) {
    .login-page {
        align-items: flex-start;
        padding-top: 35px;
    }
    .login-card {
        padding: 30px 24px;
    }
    .ads-section {
        margin-top: 10px;
    }
    .ads-image {
        height: 240px;
    }
}
@media (max-width: 480px) {
    .login-page {
        padding: 20px 12px;
    }
    .login-card {
        padding: 27px 20px;
        border-radius: 13px;
    }
    .login-heading h1 {
        font-size: 22px;
    }
    .login-logo img {
        max-width: 170px;
    }
    .ads-image {
        height: 200px;
    }
}