/*=========================================================
    OHMEDA - SISTEMA DE FARMACIA
=========================================================*/

/*=========================
    VARIABLES
=========================*/

:root {
    --oh-primary: #6c757d;
    --oh-primary-dark: #495057;
    --oh-light: #f8f9fa;
    --oh-white: #ffffff;
    --oh-border: #dee2e6;
    --oh-radius: 12px;
    --oh-shadow: 0 4px 12px rgba(0,0,0,.08);
    --oh-transition: .3s ease;
}


/*=========================
    GENERALES
=========================*/

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width:768px) {

    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    background: var(--oh-light);
}


/*=========================
    FOCUS
=========================*/

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 .1rem white, 0 0 0 .25rem #258cfb;
}


/*=========================
    FORM FLOATING
=========================*/

.form-floating > .form-control::placeholder,
.form-floating > .form-control-plaintext::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control:focus::placeholder,
.form-floating > .form-control-plaintext:focus::placeholder {
    text-align: start;
}


/*=========================
    NAVBAR
=========================*/

.navbar {
    background: var(--oh-light) !important;
    border-bottom: 1px solid var(--oh-border);
}

.navbar-brand {
    color: var(--oh-primary) !important;
    font-weight: 700;
    font-size: 1.2rem;
}

    .navbar-brand:hover {
        color: var(--oh-primary-dark) !important;
    }

.navbar .nav-link {
    color: var(--oh-primary) !important;
    font-weight: 500;
}

    .navbar .nav-link:hover {
        color: var(--oh-primary-dark) !important;
    }

.navbar i {
    color: var(--oh-primary);
}

    .navbar i:hover {
        color: var(--oh-primary-dark);
    }


/*=========================
    DROPDOWN
=========================*/

.dropdown-menu {
    background: var(--oh-white) !important;
    border: 1px solid var(--oh-border);
    border-radius: 8px;
    box-shadow: var(--oh-shadow);
}

.dropdown-item {
    color: var(--oh-primary) !important;
    padding: .7rem 1rem;
    font-size: 14px;
}

    .dropdown-item:hover {
        background: #f1f3f5 !important;
        color: var(--oh-primary-dark) !important;
    }

.dropdown-divider {
    border-top: 2px solid #d6d8db;
    opacity: 1;
    margin: 0;
}


/*=========================
    CARD
=========================*/

.card {
    background: var(--oh-white);
    border: none;
    border-radius: var(--oh-radius);
    box-shadow: var(--oh-shadow);
    transition: all var(--oh-transition);
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,.15);
    }


/*=========================
    TABLAS
=========================*/

.table thead {
    background: #bdbdbd;
}


/*=========================
    INFO BOX
=========================*/

.info-box {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--oh-white);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    box-shadow: var(--oh-shadow);
    transition: all var(--oh-transition);
}

    .info-box i {
        font-size: 55px;
        color: var(--oh-primary);
        transition: all var(--oh-transition);
    }

    .info-box:hover {
        background: #0d6efd;
        transform: translateY(-6px);
    }

        .info-box:hover i {
            color: white;
        }


/*=========================
    CARRUSEL
=========================*/

.carousel-home img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.img-center {
    object-position: 50% 50%;
}

.img-top {
    object-position: 50% 0;
}

.img-bottom {
    object-position: 50% 90%;
}


.logo-header {
    width: 350px;
    height: auto;
    object-fit: contain;
}