/* Custom Admin Theme - SnehoHealth #ffe3ae Peach/Cream */

/* Hide extra logo outside login card */
.login-page .login-logo,
.login-page .login-box .login-logo,
.login-box-msg + .login-logo,
div.login-logo,
a.login-logo {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Primary color override - logo base color */
.btn-primary,
.bg-primary,
.badge-primary {
    background-color: #ffe3ae !important;
    border-color: #ffd98e !important;
    color: #333 !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #ffd98e !important;
    border-color: #ffc966 !important;
    color: #333 !important;
}

.text-primary,
a.text-primary:hover {
    color: #e6b864 !important;
}

/* Sidebar - light theme with peach accent */
.sidebar-light-warning .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #ffe3ae !important;
    color: #333 !important;
}

/* Brand logo link */
.brand-link {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background-color: #fff;
}

.brand-link:hover {
    background-color: rgba(255, 227, 174, 0.1);
}

/* Sidebar brand text color */
.sidebar-light-warning .brand-link {
    color: #333 !important;
}

/* Nav link hover */
.sidebar-light-warning .nav-sidebar > .nav-item > .nav-link:hover {
    background-color: rgba(255, 227, 174, 0.3) !important;
    color: #333 !important;
}

/* Sidebar links */
.sidebar-light-warning .nav-link {
    color: #495057;
}

/* Sidebar nav treeview hover */
.sidebar .nav-treeview > .nav-item > .nav-link:hover {
    background-color: rgba(255, 227, 174, 0.2) !important;
    color: #333 !important;
}

/* Link colors */
a {
    color: #e6b864;
}

a:hover {
    color: #d4a557;
}

/* Form focus - peach accent */
.form-control:focus {
    border-color: #ffe3ae;
    box-shadow: 0 0 0 0.2rem rgba(255, 227, 174, 0.25);
}

/* Custom checkbox/radio */
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #ffe3ae;
    border-color: #ffd98e;
}

/* Pagination */
.page-item.active .page-link {
    background-color: #ffe3ae;
    border-color: #ffd98e;
    color: #333;
}

.page-link {
    color: #e6b864;
}

.page-link:hover {
    color: #d4a557;
    background-color: rgba(255, 227, 174, 0.1);
}

/* Info box icons */
.info-box-icon {
    background-color: #ffe3ae !important;
    color: #333 !important;
}

/* Small box */
.small-box > .small-box-footer {
    background-color: rgba(255, 227, 174, 0.1);
}

.small-box.bg-warning {
    background-color: #ffe3ae !important;
    color: #333 !important;
}

/* Card primary */
.card-primary:not(.card-outline) > .card-header {
    background-color: #ffe3ae;
    color: #333;
}

.card-primary.card-outline {
    border-top: 3px solid #ffe3ae;
}

/* Nav tabs */
.nav-tabs .nav-link.active {
    color: #e6b864;
    border-bottom: 2px solid #ffe3ae;
}

/* Progress bar */
.progress-bar {
    background-color: #ffe3ae;
}

/* Notification badge in header */
.navbar-badge {
    background-color: #ffe3ae !important;
    color: #333 !important;
}

/* Logo sizing */
.brand-image {
    max-height: 40px;
    width: auto;
}

/* User avatar in navbar */
.navbar .nav-link .user-image {
    border-radius: 50%;
}

/* Dropdown menu items */
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(255, 227, 174, 0.2);
    color: #333;
}

/* Search form in sidebar */
.sidebar-form .form-control:focus {
    border-color: #ffe3ae;
}

/* Action buttons */
.btn-info {
    background-color: #ffe3ae !important;
    border-color: #ffd98e !important;
    color: #333 !important;
}

.btn-info:hover {
    background-color: #ffd98e !important;
    border-color: #ffc966 !important;
    color: #333 !important;
}

/* Alert primary */
.alert-primary {
    background-color: rgba(255, 227, 174, 0.2);
    border-color: #ffe3ae;
    color: #856404;
}

/* Loading spinner */
.spinner-border-primary {
    color: #ffe3ae !important;
}

/* Custom scrollbar for sidebar */
.sidebar::-webkit-scrollbar-thumb {
    background-color: #ffe3ae;
}

/* Light sidebar gradient - peach to white */
.sidebar-light-warning {
    background: linear-gradient(180deg, #ffffff 0%, #fffbf5 100%);
}

/* Sidebar menu headers */
.sidebar-light-warning .nav-header {
    color: #856404;
    font-weight: 600;
}

/* White background for main content */
.content-wrapper {
    background-color: #ffffff;
}

/* Footer */
.main-footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(255, 227, 174, 0.3);
}

/* Navbar */
.navbar-white {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 227, 174, 0.3);
}

/* Success button - keep green but lighter */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Danger button - keep red but lighter */
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Table striped rows */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 227, 174, 0.05);
}

/* Active table row */
.table-hover tbody tr:hover {
    background-color: rgba(255, 227, 174, 0.1);
}

