/* Add here all your CSS customizations */
.tags {
    bottom: 0;
    list-style: outside none none;
    margin: 0;
    padding: 0;
    right: 0;
}
.tags li, .tags a {
    float: right;
    font-size: 11px;
    height: 24px;
    line-height: 24px;
    position: relative;
    margin-top: 6px;
}
.tags a {
    background: #0089e0 none repeat scroll 0 0;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    color: #fff;
    margin-left: 14px;
    padding: 0 10px 0 12px;
    text-decoration: none;
}
.tags a::before {
    border-color: transparent #0089e0 transparent transparent;
    border-style: solid;
    border-width: 12px 12px 12px 0;
    content: "";
    float: left;
    height: 0;
    left: -12px;
    position: absolute;
    top: 0;
    width: 0;
}
.tags a::after {
    background: #fff none repeat scroll 0 0;
    border-radius: 2px;
    box-shadow: -1px -1px 2px #004977;
    content: "";
    float: left;
    height: 4px;
    left: 0;
    position: absolute;
    top: 10px;
    width: 4px;
}
.tags a:hover {
    background: #555 none repeat scroll 0 0;
}
.tags a:hover::before {
    border-color: transparent #555 transparent transparent;
}
.befortag {
    margin: 15px 0;
}

/* Product price modal (admin): Jalali date + calendar + hour + minute on one row */
.price-special-datetime-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 4.25rem 4.25rem;
    gap: 6px;
    align-items: center;
    direction: rtl;
    width: 100%;
}

.price-special-date-wrap {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    min-width: 0;
    float: none !important;
}

.price-special-date-wrap input.pdate.form-control {
    float: none !important;
    display: block !important;
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
}

.price-special-date-wrap a.pcalBtn {
    flex: 0 0 auto;
    margin: 0 4px 0 0;
}

.price-special-datetime-row > select.price-special-time-select.form-control {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    float: none !important;
    display: block !important;
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
    margin: 0 !important;
}

/* Admin panel: dark header + header dropdown menus (match sidebar) */
html.header-dark .header {
    background: #1d2127;
    background-image: none;
    border-bottom-color: #161a1e;
    border-top-color: #000;
}

@media only screen and (max-width: 767px) {
    html.header-dark .header .logo-container {
        background: #1d2127;
        background-image: none;
        border-bottom-color: #161a1e;
        border-top-color: #000;
    }

    html.header-dark .header .header-right {
        background: #1d2127;
    }
}

html.header-dark .header .separator {
    background-color: #2f3139;
    background-image: linear-gradient(#2f3139 10%, #1d2127);
}

html.header-dark .userbox .role {
    color: #8d96a0;
}

html.header-dark .userbox .dropdown-menu .divider {
    background: #3a3f47;
}

html.header-dark .notifications .notification-menu {
    background: #282d36;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}

html.header-dark .notifications .notification-menu .notification-title {
    background: #21262d;
    color: #eee;
}

html.header-dark .notifications .notification-menu .content {
    background: #282d36;
    color: #c3c3c3;
}

html.header-dark .notifications .notification-menu hr {
    background: #3a3f47;
}

html.header-dark .notifications .notification-menu .view-more {
    color: #abb4be;
}

html.header-dark ul.simple-user-list li .title,
html.header-dark ul.simple-user-list li .messageinner {
    color: #c3c3c3;
}

html.header-dark .notifications .notification-menu .title,
html.header-dark .notifications .notification-menu .message {
    color: #c3c3c3;
}

section.body .sidebar-left .sidebar-header .sidebar-title {
    color: #abb4be;
}