﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/* header bar addition */
.logo-img {
    width: 75px;
    max-width: 75px;
    height: 55px;
    margin-top: -8px;
}

@media screen and (min-width: 767px) {
    .float-right {
        float: right;
    }

    .nav-right-a {
        padding: 15px 20px !important;
    }

    .nav-right-a:hover {
    }

    .nav-right-span {
        color: black !important;
    }

    .nav-right-span:hover {
        padding-bottom: 7px !important;
        border-bottom: 2px solid #44739b !important;
    }

    .navbar-white {
        background-color: white;
        border-color: white;
        border-bottom: 1px solid #dedede !important;
    }
}

/* Policy bar */
.policy-bar {
    min-height: 50px;
    background-color: #f2f2f2;
    border: 1px solid #dedede !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 1px;
}
.policybar-center {
    text-align: center;
}
.policybar-span {
    margin: 10px 0px;
    font-size: 30px;
}
.terms-text {
    border: 1px solid #dedede;
    padding: 10px;
    max-height: 500px;
    overflow-y: auto;
}
.privacy-agree-btn{
    margin-top: 20px;
}

/* search page */
/* -- search box -- */
.has-search .form-control {
    padding-left: 3.5rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
    left: 20px;
    top: 6px;
}

.has-info .form-control {
    padding-right: 2.5rem;
}

.has-info .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
    right: 20px !important;
    top: 6px;
}

.has-dropdown .form-control {
    padding-right: 2.5rem;
    background-color: white !important;
    cursor: pointer;
}

.has-dropdown .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
    right: 20px !important;
    top: 6px;
}
/* -- -- shape dialogs -- -- */
.shape-popup {
    width: 100%;
    height: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 9px;
    overflow-y: auto;
}
.shape-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap !important;
}
.shape-item {
    width: 50px;
}
.shape-item:hover {
    background-color: #ababab;
    cursor: pointer;
}
.shape-item:hover .shape-title {
    color: white;
}
.shape-item.shape-selected{
    background-color: #888888;
    color: white;
}
.shape-img {
    text-align: center;
}
.shape-title {
    font-size: 11px;
}
/* -- -- color dialogs -- -- */
.color-popup {
    width: 100%;
    height: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 9px;
    overflow-y: auto;
}

.color-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap !important;
}

.color-item {
    width: 50px;
}

.color-item:hover {
    background-color: #ababab;
    cursor: pointer;
}

.color-item:hover .color-title {
    color: white;
}

.color-item.color-selected {
    background-color: #888888;
    color: white;
}

.color-img {
    text-align: center;
}

.color-title {
    font-size: 11px;
}
/* -- -- Search result filter part -- -- */
.search-result-title {
    font-size: 27px;
}
.search-result-counts {
    color: #808080;
    font-size: 15px;
}
.checkbox-only-photos {
    margin-left: 30px !important;
}
.div-filter-tag {
    font-size: 17px;
    margin-top: 10px;
}
/* -- -- Image Search result -- -- */
.img-medicine-thumb {
    display: block;
    max-width: 280px;
    height: auto;
    margin: auto;
}
.img-medecine-container {
    align-items: center;
}
.medicine-heading {
    font-size: 24px;
    color: #000;
}
.medicine-category {
    color: #000da9;
}
.img-card {
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
    padding: 30px;
    border-radius: 25px;
}

/* Drug Information Cards */
.drug-info-card {
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
    padding: 30px;
    border-radius: 25px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.drug-name {
    font-size: 24px;
    color: #000;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #44739b;
}

.drug-details {
    margin-top: 15px;
}

.detail-item {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.detail-item strong {
    color: #44739b;
    font-weight: 600;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 767px) {
    .drug-info-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .drug-name {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .detail-item {
        margin-bottom: 10px;
        font-size: 13px;
    }
}
.cardlist_pager {
    text-align: center;
}