/*
Template Name: Minton - Bootstrap 4 Admin Dashboard (Premium Vibrant Edition)
Author: Coderthemes (Enhanced Premium Design)
Description: Modern, vibrant admin template with bold colors and strong borders.
File: Main Css - Complete with Vibrant Colors & Strong Borders
*/

/*===================================
  BLOCK 1: VARIABLES & RESET
===================================*/
:root {
    --primary: #1a73e7;
    --primary-dark: #0e5bc9;
    --primary-light: #4a9eff;
    --secondary: #ec008c;
    --secondary-dark: #c40073;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --dark: #1e293b;
    --dark-light: #334155;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(179deg, #1a73e7 29.16%, #ec008c 172.5%);
    --gradient-gold: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    --gradient-cyan: linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
    --gradient-green: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-orange: linear-gradient(135deg, #fc4a1a 0%, #f7b733 100%);
}

* {
    outline: none !important;
}

body {
    background: var(--light);
    margin: 0;
    color: var(--text-muted);
    overflow-x: hidden !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    overflow-x: hidden;
    position: relative;
    min-height: 100%;
    background: var(--light);
}

/*===================================
  BLOCK 2: TYPOGRAPHY
===================================*/
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    margin: 10px 0;
    font-weight: 700;
}

h1 { line-height: 43px; }
h2 { line-height: 35px; }
h3 { line-height: 30px; }
h4 { line-height: 22px; }

h3 small, h4 small, h5 small {
    color: var(--gray);
}

a:hover, a:active, a:focus {
    outline: 0;
    text-decoration: none;
}

/*===================================
  BLOCK 3: LAYOUT STRUCTURE
===================================*/
.container {
    width: auto;
}

.container-alt {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.footer {
    background-color: #ffffff;
    border-top: 1px solid var(--gray-light);
    bottom: 0px;
    color: var(--gray);
    text-align: left !important;
    padding: 20px 30px;
    position: absolute;
    right: 0;
    left: 240px;
    font-size: 13px;
    transition: var(--transition);
}

#wrapper {
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.page {
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
}

/*===================================
  BLOCK 4: CARD COMPONENTS
===================================*/
.card-box {
    padding: 20px;
    border: 1px solid var(--gray-light);
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background-clip: padding-box;
    margin-bottom: 20px;
    background-color: #ffffff;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.card-box:hover {
    box-shadow: var(--shadow-md);
}

.header-title {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    line-height: 16px;
    margin-bottom: 12px;
    margin-top: 0;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.social-links li a {
    -webkit-border-radius: 50%;
    background: #f0f2f6;
    border-radius: 50%;
    color: var(--gray);
    display: inline-block;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: 30px;
    transition: var(--transition);
}

.social-links li a:hover {
    background: var(--gradient-primary);
    color: #ffffff;
}

/*===================================
  BLOCK 5: BOOTSTRAP CUSTOM
===================================*/
.row {
    margin-right: -10px;
    margin-left: -10px;
}

[class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 15px;
    margin-top: 5px;
}

code {
    color: var(--primary);
    border-radius: 4px;
}

code, pre {
    background-color: #f4f8fb;
}

/*===================================
  BLOCK 6: BACKGROUND & TEXT COLORS
===================================*/
.bg-empty { background: transparent !important; }
.bg-primary { background: var(--gradient-primary) !important; }
.bg-principal { background: var(--gradient-primary) !important; }
.bg-success { background-color: var(--secondary) !important; }
.bg-info { background-color: var(--info) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-danger { background-color: var(--danger) !important; }
.bg-muted { background-color: var(--light) !important; }
.bg-inverse { background-color: var(--dark) !important; }
.bg-purple { background-color: #9b6b9e !important; }
.bg-pink { background-color: #f48c6e !important; }
.bg-white { background-color: #ffffff !important; }

.text-white { color: #ffffff; }
.text-azulm { color: var(--dark); font-weight: bold; }
.text-danger { color: var(--danger); }
.text-muted { color: var(--gray); font-weight: 500; }
.text-primary { color: var(--primary); }
.text-warning { color: var(--warning); }
.text-success { color: var(--secondary); }
.text-info { color: var(--info); }
.text-inverse { color: var(--dark); }
.text-pink { color: #f48c6e; }
.text-purple { color: #9b6b9e; }
.text-dark { color: var(--text-dark) !important; }

/*===================================
  BLOCK 7: HELPER CLASSES
===================================*/
.p-0 { padding: 0 !important; }
.p-20 { padding: 20px; }
.p-t-10 { padding-top: 10px !important; }
.p-b-10 { padding-bottom: 10px !important; }
.m-0 { margin: 0 !important; }
.m-r-5 { margin-right: 5px; }
.m-r-10 { margin-right: 10px; }
.m-r-15 { margin-right: 15px !important; }
.m-l-5 { margin-left: 5px; }
.m-l-10 { margin-left: 10px; }
.m-l-15 { margin-left: 15px; }
.m-t-5 { margin-top: 5px !important; }
.m-t-10 { margin-top: 10px !important; }
.m-t-15 { margin-top: 15px !important; }
.m-t-20 { margin-top: 20px !important; }
.m-t-30 { margin-top: 30px !important; }
.m-t-40 { margin-top: 40px !important; }
.m-t-50 { margin-top: 50px; }
.m-b-5 { margin-bottom: 5px; }
.m-b-10 { margin-bottom: 10px; }
.m-b-15 { margin-bottom: 15px; }
.m-b-20 { margin-bottom: 20px; }
.m-b-25 { margin-bottom: 25px; }
.m-b-30 { margin-bottom: 30px !important; }

.w-xs { min-width: 80px; }
.w-sm { min-width: 95px; }
.w-md { min-width: 110px; }
.w-lg { min-width: 140px; }
.m-h-50 { min-height: 50px; }
.l-h-34 { line-height: 34px !important; }

.font-light { font-weight: 300; }
.font-normal { font-weight: normal; }
.font-bold { font-weight: bold; }

.font-13 { font-size: 13px; }
.font-14 { font-size: 14px; }
.font-15 { font-size: 15px; }
.font-16 { font-size: 16px; }
.font-18 { font-size: 18px; }

.wrapper-md { padding: 20px; }
.pull-in { margin-left: -20px; margin-right: -20px; }
.b-0 { border: none !important; }
.no-border { border: none; }
.center-page { float: none !important; margin: 0 auto; }
.bx-s-0 { box-shadow: none !important; }
.bx-shadow { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.mx-box { max-height: 380px; min-height: 380px; }

.thumb-sm { height: 32px; width: 32px; }
.thumb-md { height: 48px; width: 48px; }
.thumb-lg { height: 88px; width: 88px; }

/*===================================
  BLOCK 8: WAVES EFFECT
===================================*/
.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
    z-index: 1;
    will-change: opacity, transform;
    transition: all 0.3s ease-out;
}

.waves-effect .waves-ripple {
    position: absolute;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    opacity: 0;
    background: rgba(26, 115, 231, 0.4);
    transition: all 0.7s ease-out;
    transition-property: transform, opacity;
    transform: scale(0);
    pointer-events: none;
}

.waves-effect.waves-light .waves-ripple { background-color: rgba(255, 255, 255, 0.45); }
.waves-effect.waves-red .waves-ripple { background-color: rgba(244, 67, 54, 0.7); }
.waves-effect.waves-yellow .waves-ripple { background-color: rgba(255, 235, 59, 0.7); }
.waves-effect.waves-orange .waves-ripple { background-color: rgba(255, 152, 0, 0.7); }
.waves-effect.waves-purple .waves-ripple { background-color: rgba(156, 39, 176, 0.7); }
.waves-effect.waves-green .waves-ripple { background-color: rgba(76, 175, 80, 0.7); }
.waves-effect.waves-teal .waves-ripple { background-color: rgba(0, 150, 136, 0.7); }
.waves-effect.waves-primary .waves-ripple { background-color: rgba(26, 115, 231, 0.4); }

.waves-notransition { transition: none !important; }

.waves-circle {
    transform: translateZ(0);
    text-align: center;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
    -webkit-mask-image: none;
}

.waves-input-wrapper {
    border-radius: 0.2em;
    vertical-align: bottom;
}

.waves-input-wrapper .waves-button-input {
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
}

.waves-block { display: block; }

/*===================================
  BLOCK 9: ANIMATIONS
===================================*/
@-webkit-keyframes cd-bounce-1 {
    0% { opacity: 0; -webkit-transform: scale(0.5); }
    60% { opacity: 1; -webkit-transform: scale(1.2); }
    100% { -webkit-transform: scale(1); }
}

@-webkit-keyframes cd-bounce-2 {
    0% { opacity: 0; -webkit-transform: translateX(-100px); }
    60% { opacity: 1; -webkit-transform: translateX(20px); }
    100% { -webkit-transform: translateX(0); }
}

@-webkit-keyframes dropdownOpen {
    0% { opacity: 0; -webkit-transform: scale(0); }
    100% { -webkit-transform: scale(1); }
}

@keyframes loaderAnimate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(220deg); }
}

@keyframes loaderAnimate2 {
    0% { box-shadow: inset #555 0 0 0 8px; transform: rotate(-140deg); }
    50% { box-shadow: inset #555 0 0 0 2px; }
    100% { box-shadow: inset #555 0 0 0 8px; transform: rotate(140deg); }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/*===================================
  BLOCK 10: BADGES
===================================*/
.badge {
    font-weight: 600;
    padding: 4px 8px;
    font-size: 13px;
    margin-top: 1px;
    border-radius: 20px;
}

.badge-xs { font-size: 9px; }
.badge-xs, .badge-sm { transform: translate(0, -2px); }

.badge-primary { background: var(--gradient-primary); color: #ffffff; }
.badge-success { background-color: var(--secondary); color: #ffffff; }
.badge-info { background-color: var(--info); color: #ffffff; }
.badge-warning { background-color: var(--warning); color: #ffffff; }
.badge-danger { background-color: var(--danger); color: #ffffff; }
.badge-purple { background-color: #9b6b9e; }
.badge-pink { background-color: #c40073; }
.badge-inverse { background-color: var(--dark); }

/*===================================
  BLOCK 11: PAGINATION
===================================*/
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.pagination > li > a,
.pagination > li > span {
    color: var(--text-muted);
    background: #ffffff;
    border-color: var(--gray-light);
    transition: var(--transition);
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    background-color: var(--light);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-split li {
    margin-left: 5px;
    display: inline-block;
    float: left;
}

.pagination-split li:first-child { margin-left: 0; }
.pagination-split li a { border-radius: 6px; }

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: #ffffff;
}

.pager .disabled > a, .pager .disabled > a:focus, .pager .disabled > a:hover, .pager .disabled > span {
    opacity: 0.6;
}

.pager li > a, .pager li > span {
    border-radius: 6px;
    color: var(--text-dark);
}

/*===================================
  BLOCK 12: ICON DEMO
===================================*/
.icon-list-demo div {
    cursor: pointer;
    line-height: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-muted);
    font-size: 14px;
}

.icon-list-demo div p { margin-bottom: 0; line-height: inherit; }

.icon-list-demo i {
    -webkit-transition: all 0.2s;
    display: inline-block;
    font-size: 20px;
    margin: 0;
    text-align: center;
    transition: all 0.2s;
    vertical-align: middle;
    width: 40px;
}

.icon-list-demo .col-md-4:hover { color: var(--primary); }
.icon-list-demo .col-md-4:hover i { transform: scale(1.2); }

.ionicon-list i { font-size: 16px; }
.ionicon-list .col-md-3:hover i { transform: scale(1.5); }

.button-list {
    margin-left: -8px;
    margin-bottom: -12px;
}

.button-list .btn {
    margin-bottom: 12px;
    margin-left: 8px;
}

/*===================================
  BLOCK 13: PRINT CSS
===================================*/
@media print {
    .logo, .breadcrumb, .page-title, .footer, .topbar, .btn-group.pull-right.m-t-15 {
        display: none;
        margin: 0;
        padding: 0;
    }
    .left, .right-bar { display: none; }
    .content, .card-box {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
    .content-page {
        margin-left: 0;
        margin-top: 0 !important;
    }
}

/*===================================
  BLOCK 14: BUTTONS
===================================*/
.btn-primary, .btn-success, .btn-info, .btn-warning,
.btn-danger, .btn-dark {
    color: #ffffff;
}

.btn-secondary {
    background-color: #ffffff;
    border-color: var(--gray-light);
    color: var(--dark);
    transition: var(--transition);
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active,
.btn-secondary.active, .btn-secondary.focus, .open > .dropdown-toggle.btn-secondary,
.show > .btn-secondary.dropdown-toggle {
    background-color: var(--light);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-primary.active, .btn-primary.focus, .open > .dropdown-toggle.btn-primary,
.btn-outline-primary.active, .btn-outline-primary:active,
.show > .btn-outline-primary.dropdown-toggle, .btn-outline-primary:hover,
.show > .btn-primary.dropdown-toggle {
    background: linear-gradient(179deg, #0e5bc9 29.16%, #c40073 172.5%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 115, 231, 0.3);
}

.btn-success {
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
}

.btn-success:hover, .btn-success:focus, .btn-success:active,
.btn-success.active, .btn-success.focus, .open > .dropdown-toggle.btn-success,
.btn-outline-success.active, .btn-outline-success:active,
.show > .btn-outline-success.dropdown-toggle, .btn-outline-success:hover,
.show > .btn-success.dropdown-toggle {
    background-color: var(--secondary-dark);
    border: 1px solid var(--secondary-dark);
}

.btn-info {
    background-color: var(--info);
    border: 1px solid var(--info);
}

.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active,
.btn-info.focus, .open > .dropdown-toggle.btn-info,
.btn-outline-info.active, .btn-outline-info:active,
.show > .btn-outline-info.dropdown-toggle, .btn-outline-info:hover,
.show > .btn-info.dropdown-toggle {
    background-color: #2563eb;
    border: 1px solid #2563eb;
}

.btn-warning {
    background-color: var(--warning);
    border: 1px solid var(--warning);
    color: #ffffff;
}

.btn-warning:hover, .btn-warning:focus, .btn-warning:active,
.btn-warning.active, .btn-warning.focus, .open > .dropdown-toggle.btn-warning,
.btn-outline-warning.active, .btn-outline-warning:active,
.show > .btn-outline-warning.dropdown-toggle, .btn-outline-warning:hover,
.show > .btn-warning.dropdown-toggle {
    background-color: #d97706;
    border: 1px solid #d97706;
}

.btn-danger {
    background-color: var(--danger);
    border: 1px solid var(--danger);
}

.btn-danger:active, .btn-danger:focus, .btn-danger:hover,
.btn-danger.active, .btn-danger.focus, .open > .dropdown-toggle.btn-danger,
.btn-outline-danger.active, .btn-outline-danger:active,
.show > .btn-outline-danger.dropdown-toggle, .btn-outline-danger:hover,
.show > .btn-danger.dropdown-toggle {
    background-color: #dc2626;
    border: 1px solid #dc2626;
}

.btn-dark {
    background-color: var(--dark);
    border: 1px solid var(--dark);
    color: #ffffff;
}

.btn-dark:hover, .btn-dark:focus, .btn-dark:active, .btn-dark.active,
.btn-dark.focus, .open > .dropdown-toggle.btn-dark,
.btn-outline-dark.active, .btn-outline-dark:active,
.show > .btn-outline-dark.dropdown-toggle, .btn-outline-dark:hover {
    background-color: var(--dark-light);
    border: 1px solid var(--dark-light);
    color: #ffffff;
}

.btn-dark.focus, .btn-dark:focus, .btn-outline-dark.focus, .btn-outline-dark:focus {
    box-shadow: 0 0 0 2px rgba(30, 41, 59, 0.3);
}

.btn-link {
    color: var(--dark);
}

.btn-link:hover { color: var(--primary); }

/* Button Outline */
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: #ffffff;
}

.btn-outline-success {
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-success:hover {
    background-color: var(--secondary);
    color: #ffffff;
}

.btn-outline-info {
    color: var(--info);
    border-color: var(--info);
}

.btn-outline-info:hover {
    background-color: var(--info);
    color: #ffffff;
}

.btn-outline-warning {
    color: var(--warning);
    border-color: var(--warning);
}

.btn-outline-warning:hover {
    background-color: var(--warning);
    color: #ffffff;
}

.btn-outline-danger {
    color: var(--danger);
    border-color: var(--danger);
}

.btn-outline-danger:hover {
    background-color: var(--danger);
    color: #ffffff;
}

.btn-outline-dark {
    color: var(--dark);
    background-image: none;
    background-color: transparent;
    border-color: var(--dark);
}

.btn-outline-dark:hover {
    background-color: var(--dark);
    color: #ffffff;
}

.btn-custom { border-bottom: 3px solid transparent; }
.btn-custom.btn-default {
    background-color: #f3f3f3;
    border-bottom: 2px solid #cccccc !important;
}
.btn-custom.btn-primary { border-bottom: 2px solid var(--primary-dark) !important; }
.btn-custom.btn-success { border-bottom: 2px solid var(--secondary-dark) !important; }
.btn-custom.btn-info { border-bottom: 2px solid #2563eb !important; }
.btn-custom.btn-warning { border-bottom: 2px solid #d97706 !important; }
.btn-custom.btn-danger { border-bottom: 2px solid #dc2626 !important; }
.btn-custom.btn-dark { border-bottom: 2px solid #0f172a !important; }

.btn-rounded {
    border-radius: 2em;
    padding: 6px 18px;
}

.fileupload {
    overflow: hidden;
    position: relative;
}

.fileupload input.upload {
    cursor: pointer;
    filter: alpha(opacity=0);
    font-size: 20px;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
}

/*===================================
  BLOCK 15: PORTLETS
===================================*/
.portlet {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    transition: all 0.4s;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
}

.portlet .portlet-heading {
    border-radius: 8px 8px 0 0;
    color: #ffffff;
    padding: 12px 20px;
}

.portlet .portlet-heading .portlet-title {
    color: #ffffff;
    float: left;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.portlet .portlet-heading .portlet-widgets {
    display: inline-block;
    float: right;
    font-size: 15px;
    line-height: 30px;
    padding-left: 15px;
    position: relative;
    text-align: right;
}

.portlet .portlet-heading .portlet-widgets .divider { margin: 0 5px; }

.portlet .portlet-heading a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.portlet .portlet-heading a:hover { color: #ffffff; }

.portlet .portlet-body {
    background: #ffffff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 15px;
}

.portlet-default .portlet-title { color: var(--text-dark) !important; }

.portlet .portlet-heading .portlet-widgets .collapsed .ion-minus-round:before {
    content: "\f217" !important;
}

.portlet .portlet-heading.bg-purple a, .portlet .portlet-heading.bg-info a,
.portlet .portlet-heading.bg-success a, .portlet .portlet-heading.bg-primary a,
.portlet .portlet-heading.bg-danger a, .portlet .portlet-heading.bg-warning a,
.portlet .portlet-heading.bg-inverse a, .portlet .portlet-heading.bg-pink a {
    color: #ffffff;
}

.panel-disabled {
    background: rgba(243, 242, 241, 0.5);
    cursor: progress;
    bottom: 15px;
    left: 0;
    position: absolute;
    right: -5px;
    top: 0;
}

.loader-1 {
    animation: loaderAnimate 1000ms linear infinite;
    clip: rect(0, 30px, 30px, 15px);
    height: 30px;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    position: absolute;
    top: 50%;
    width: 30px;
}

.loader-1:after {
    animation: loaderAnimate2 1000ms ease-in-out infinite;
    border-radius: 50%;
    clip: rect(0, 30px, 30px, 15px);
    content: '';
    height: 30px;
    position: absolute;
    width: 30px;
}

/*===================================
  BLOCK 16: CHECKBOX & RADIOS
===================================*/
.checkbox label {
    display: inline-block;
    padding-left: 5px;
    position: relative;
    font-weight: 500;
    font-size: 13px;
}

.checkbox label::before {
    transition: 0.3s ease-in-out;
    background-color: #ffffff;
    border-radius: 4px;
    border: 2px solid var(--gray-light);
    content: "";
    display: inline-block;
    height: 17px;
    left: 0;
    margin-left: -17px;
    position: absolute;
    width: 17px;
    outline: none !important;
}

.checkbox label::after {
    color: var(--text-dark);
    display: inline-block;
    font-size: 11px;
    height: 16px;
    left: 0;
    margin-left: -17px;
    padding-left: 3px;
    padding-top: 1px;
    position: absolute;
    top: 0;
    width: 16px;
}

.checkbox input[type="checkbox"] {
    cursor: pointer;
    opacity: 0;
    z-index: 1;
    outline: none !important;
}

.checkbox input[type="checkbox"]:disabled + label { opacity: 0.65; }
.checkbox input[type="checkbox"]:focus + label::before { outline-offset: -2px; outline: none; }
.checkbox input[type="checkbox"]:checked + label::after { content: "\f00c"; font-family: 'FontAwesome'; }
.checkbox input[type="checkbox"]:disabled + label::before {
    background-color: #f0f2f6;
    cursor: not-allowed;
}

.checkbox.checkbox-circle label::before { border-radius: 50%; }
.checkbox.checkbox-inline { margin-top: 0; }

.checkbox.checkbox-single input {
    height: 18px;
    width: 18px;
    position: absolute;
}

.checkbox.checkbox-single label {
    height: 18px;
    width: 18px;
}

.checkbox.checkbox-single label:before,
.checkbox.checkbox-single label:after { margin-left: 0; }

.checkbox-custom input[type="checkbox"]:checked + label::before {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-custom input[type="checkbox"]:checked + label::after { color: #ffffff; }

.checkbox-primary input[type="checkbox"]:checked + label::before {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-primary input[type="checkbox"]:checked + label::after { color: #ffffff; }

.checkbox-danger input[type="checkbox"]:checked + label::before {
    background-color: var(--danger);
    border-color: var(--danger);
}

.checkbox-danger input[type="checkbox"]:checked + label::after { color: #ffffff; }

.checkbox-info input[type="checkbox"]:checked + label::before {
    background-color: var(--info);
    border-color: var(--info);
}

.checkbox-info input[type="checkbox"]:checked + label::after { color: #ffffff; }

.checkbox-warning input[type="checkbox"]:checked + label::before {
    background-color: var(--warning);
    border-color: var(--warning);
}

.checkbox-warning input[type="checkbox"]:checked + label::after { color: #ffffff; }

.checkbox-success input[type="checkbox"]:checked + label::before {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.checkbox-success input[type="checkbox"]:checked + label::after { color: #ffffff; }

.checkbox-purple input[type="checkbox"]:checked + label::before {
    background-color: #9b6b9e;
    border-color: #9b6b9e;
}

.checkbox-purple input[type="checkbox"]:checked + label::after { color: #ffffff; }

.checkbox-pink input[type="checkbox"]:checked + label::before {
    background-color: #f48c6e;
    border-color: #f48c6e;
}

.checkbox-pink input[type="checkbox"]:checked + label::after { color: #ffffff; }

.checkbox-inverse input[type="checkbox"]:checked + label::before {
    background-color: var(--dark);
    border-color: var(--dark);
}

.checkbox-inverse input[type="checkbox"]:checked + label::after { color: #ffffff; }

/* Radios */
.radio label {
    display: inline-block;
    padding-left: 5px;
    position: relative;
    font-weight: 500;
    font-size: 13px;
}

.radio label::before {
    transition: border 0.5s ease-in-out;
    background-color: #ffffff;
    border-radius: 50%;
    border: 2px solid var(--gray-light);
    content: "";
    display: inline-block;
    height: 17px;
    left: 0;
    margin-left: -20px;
    position: absolute;
    width: 17px;
    outline: none !important;
}

.radio label::after {
    transition: transform 0.1s cubic-bezier(0.8, -0.33, 0.2, 1.33);
    background-color: var(--text-dark);
    border-radius: 50%;
    content: " ";
    display: inline-block;
    height: 11px;
    left: 3px;
    margin-left: -20px;
    position: absolute;
    top: 3px;
    transform: scale(0);
    width: 11px;
}

.radio input[type="radio"] {
    cursor: pointer;
    opacity: 0;
    z-index: 1;
    outline: none !important;
}

.radio input[type="radio"]:disabled + label { opacity: 0.65; }
.radio input[type="radio"]:focus + label::before { outline-offset: -2px; outline: thin dotted; }
.radio input[type="radio"]:checked + label::after { transform: scale(1); }
.radio input[type="radio"]:disabled + label::before { cursor: not-allowed; }

.radio.radio-inline { margin-top: 0; }
.radio.radio-single label { height: 17px; }

.radio-custom input[type="radio"] + label::after { background-color: var(--primary); }
.radio-custom input[type="radio"]:checked + label::before { border-color: var(--primary); }
.radio-custom input[type="radio"]:checked + label::after { background-color: var(--primary); }

.radio-primary input[type="radio"] + label::after { background-color: var(--primary); }
.radio-primary input[type="radio"]:checked + label::before { border-color: var(--primary); }
.radio-primary input[type="radio"]:checked + label::after { background-color: var(--primary); }

.radio-danger input[type="radio"] + label::after { background-color: var(--danger); }
.radio-danger input[type="radio"]:checked + label::before { border-color: var(--danger); }
.radio-danger input[type="radio"]:checked + label::after { background-color: var(--danger); }

.radio-info input[type="radio"] + label::after { background-color: var(--info); }
.radio-info input[type="radio"]:checked + label::before { border-color: var(--info); }
.radio-info input[type="radio"]:checked + label::after { background-color: var(--info); }

.radio-warning input[type="radio"] + label::after { background-color: var(--warning); }
.radio-warning input[type="radio"]:checked + label::before { border-color: var(--warning); }
.radio-warning input[type="radio"]:checked + label::after { background-color: var(--warning); }

.radio-success input[type="radio"] + label::after { background-color: var(--secondary); }
.radio-success input[type="radio"]:checked + label::before { border-color: var(--secondary); }
.radio-success input[type="radio"]:checked + label::after { background-color: var(--secondary); }

.radio-purple input[type="radio"] + label::after { background-color: #9b6b9e; }
.radio-purple input[type="radio"]:checked + label::before { border-color: #9b6b9e; }
.radio-purple input[type="radio"]:checked + label::after { background-color: #9b6b9e; }

.radio-pink input[type="radio"] + label::after { background-color: #f48c6e; }
.radio-pink input[type="radio"]:checked + label::before { border-color: #f48c6e; }
.radio-pink input[type="radio"]:checked + label::after { background-color: #f48c6e; }

/*===================================
  BLOCK 17: TABS
===================================*/
.tab-content {
    padding: 20px 0 0 0;
}

.nav-tabs > li > a, .nav-pills > li > a {
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-tabs > li > a.active, .nav-pills > li > a.active {
    color: var(--primary);
}

.nav-pills .nav-item.show .nav-link, .nav-pills .nav-link.active {
    background: var(--gradient-primary);
}

/* Vertical tab */
.tabs-vertical-env .tab-content {
    background: #ffffff;
    display: table-cell;
    padding: 0 0 0 20px;
    margin-bottom: 0;
    vertical-align: top;
}

.tabs-vertical-env .nav.tabs-vertical {
    display: table-cell;
    min-width: 120px;
    vertical-align: top;
    width: 150px;
}

.tabs-vertical-env .nav.tabs-vertical li > a {
    color: var(--dark);
    white-space: nowrap;
    font-weight: 600;
    border-radius: 6px;
}

.tabs-vertical-env .nav.tabs-vertical li > a.active {
    background: var(--gradient-primary);
    border: 0;
    color: #ffffff;
}

.tabs-vertical-env-right .tab-content {
    padding: 0 20px 0 0;
}

.tabs-bordered {
    border-bottom: 2px solid var(--gray-light) !important;
}

.tabs-bordered .nav-item {
    margin-bottom: -2px;
}

.tabs-bordered li a, .tabs-bordered li a:hover, .tabs-bordered li a:focus {
    border: 0 !important;
    padding: 10px 20px !important;
}

.tabs-bordered li a.active {
    border-bottom: 2px solid var(--primary) !important;
}

/* Navpills */
.nav-pills > li > a {
    color: var(--dark);
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    background: var(--gradient-primary);
}

/*===================================
  BLOCK 18: PROGRESSBARS
===================================*/
.progress {
    background-color: #f0f2f6;
    box-shadow: none !important;
    height: 8px;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 10px;
}

.progress-bar {
    box-shadow: none;
    font-size: 8px;
    font-weight: 600;
    background: var(--gradient-primary);
    line-height: 12px;
    border-radius: 10px;
}

.progress.progress-sm {
    height: 5px !important;
}

.progress.progress-sm .progress-bar {
    font-size: 8px;
    line-height: 5px;
}

.progress.progress-md {
    height: 12px !important;
}

.progress.progress-md .progress-bar {
    font-size: 10.8px;
    line-height: 12px;
}

/*===================================
  BLOCK 19: TOOLTIPS & POPOVERS
===================================*/
.tooltip-inner {
    border-radius: 6px;
    padding: 6px 12px;
    background: var(--primary);
    color: #ffffff;
}

.jqstooltip {
    box-sizing: content-box;
    width: auto !important;
    height: auto !important;
}

.popover {
    font-family: inherit;
    border-radius: 8px;
    border-color: var(--gray-light);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.popover .popover-title {
    background-color: transparent;
    color: var(--primary);
    margin: 0;
    font-weight: 600;
    border-bottom-color: var(--gray-light);
}

.popover .popover-body {
    color: var(--text-muted);
}

/*===================================
  BLOCK 20: ALERTS
===================================*/
.alert-success {
    background-color: rgba(236, 0, 140, 0.1) !important;
    border-color: var(--secondary) !important;
    color: var(--secondary);
}

.alert-success .alert-link {
    color: var(--secondary);
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1) !important;
    border-color: var(--info) !important;
    color: var(--info);
}

.alert-info .alert-link {
    color: var(--info);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1) !important;
    border-color: var(--warning) !important;
    color: var(--warning);
}

.alert-warning .alert-link {
    color: var(--warning);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1) !important;
    border-color: var(--danger) !important;
    color: var(--danger);
}

.alert-danger .alert-link {
    color: var(--danger);
}

/*===================================
  BLOCK 21: CAROUSEL
===================================*/
.carousel-control {
    width: 10%;
}

.carousel-control span {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
    font-size: 30px;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: block;
}

/*===================================
  BLOCK 22: WIDGETS
===================================*/
/* Inbox widget */
.inbox-widget .inbox-item {
    border-bottom: 1px solid #f0f2f6;
    overflow: hidden;
    padding: 12px 0;
    position: relative;
}

.inbox-widget .inbox-item .inbox-item-img {
    display: block;
    float: left;
    margin-right: 15px;
    width: 40px;
}

.inbox-widget .inbox-item img {
    width: 40px;
    border-radius: 50%;
}

.inbox-widget .inbox-item .inbox-item-author {
    color: var(--dark);
    display: block;
    margin: 0;
    font-weight: 600;
}

.inbox-widget .inbox-item .inbox-item-text {
    color: var(--gray);
    display: block;
    font-size: 12px;
    margin: 0;
}

.inbox-widget .inbox-item .inbox-item-date {
    color: #a1b0c2;
    font-size: 11px;
    position: absolute;
    right: 7px;
    top: 12px;
}

/* Chat widget */
.conversation-list {
    list-style: none;
    max-height: 330px;
    padding: 0 20px;
}

.conversation-list li {
    margin-bottom: 24px;
}

.conversation-list .chat-avatar {
    display: inline-block;
    float: left;
    text-align: center;
    width: 40px;
}

.conversation-list .chat-avatar img {
    border-radius: 100%;
    width: 100%;
}

.conversation-list .chat-avatar i {
    font-size: 12px;
    font-style: normal;
}

.conversation-list .ctext-wrap {
    background: #f0f2f6;
    border-radius: 12px;
    display: inline-block;
    padding: 10px 15px;
    position: relative;
}

.conversation-list .ctext-wrap i {
    color: var(--dark);
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: bold;
    position: relative;
}

.conversation-list .ctext-wrap p {
    margin: 0;
    padding-top: 3px;
    color: var(--text-muted);
}

.conversation-list .ctext-wrap:after {
    right: 100%;
    top: 20%;
    border: 6px solid rgba(213, 242, 239, 0);
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #f0f2f6;
    margin-top: -6px;
}

.conversation-list .conversation-text {
    display: inline-block;
    float: left;
    font-size: 12px;
    margin-left: 12px;
    width: 70%;
}

.conversation-list .odd .chat-avatar {
    float: right !important;
}

.conversation-list .odd .conversation-text {
    float: right !important;
    margin-right: 12px;
    text-align: right;
    width: 70% !important;
}

.conversation-list .odd p {
    color: #f2f2f2;
}

.conversation-list .odd .ctext-wrap {
    background: var(--gradient-primary) !important;
}

.conversation-list .odd .ctext-wrap i {
    color: #ffffff;
}

.conversation-list .odd .ctext-wrap p {
    color: #ffffff;
}

.conversation-list .odd .ctext-wrap:after {
    border-color: rgba(238, 242, 247, 0) !important;
    border-left-color: var(--primary) !important;
    left: 100% !important;
    top: 20% !important;
}

.chat-send {
    padding-left: 0px;
    padding-right: 30px;
}

.chat-send button {
    width: 100%;
}

.chat-inputbar {
    padding-left: 30px;
}

#todo-message {
    font-size: 16px;
}

.todo-list li {
    border: 0px;
    margin: 0px;
    padding: 5px !important;
    background: transparent !important;
    display: block;
}

.todo-send {
    padding-left: 0px;
}

/* Widget-chart */
.widget-chart ul li {
    width: 31.5%;
    display: inline-block;
    padding: 0px;
}

.widget-panel {
    padding: 30px 20px;
    padding-left: 30px;
    border-radius: 8px;
    position: relative;
    margin-bottom: 20px;
}

.widget-panel i {
    font-size: 60px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.2);
    position: absolute;
    right: 0px;
    bottom: 0px;
    top: 0px;
    line-height: 60px;
}

.widget-user {
    min-height: 112px;
}

.widget-user img {
    height: 72px;
    float: left;
    border-radius: 50%;
}

.widget-user .wid-u-info {
    margin-left: 90px;
}

.widget-user .wid-u-info p {
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget-simple-chart .circliful-chart {
    float: left;
    margin-top: -5px;
}

.widget-icon i {
    float: left;
    font-size: 48px;
}

.widget-icon .wid-icon-info {
    margin-left: 80px;
}

.card-box-celeste {
    padding: 20px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    background-clip: padding-box;
    margin-bottom: 20px;
    background-color: rgba(236, 0, 140, 0.05);
}

/*===================================
  BLOCK 23: FORM ELEMENTS
===================================*/
label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    border: 2px solid var(--gray-light);
    box-shadow: none;
    color: var(--text-dark);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    transition: var(--transition);
    background: #ffffff;
}

.form-control:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: none;
    border-width: 2px;
}

.input-sm {
    height: 30px;
}

.input-group-btn .btn {
    padding: 7px 14px;
}

.has-success .form-control {
    border-color: var(--secondary);
    box-shadow: none !important;
}

.has-success .form-control:focus {
    border-color: var(--secondary);
}

.has-warning .form-control {
    border-color: var(--warning);
    box-shadow: none !important;
}

.has-warning .form-control:focus {
    border-color: var(--warning);
}

.has-error .form-control {
    border-color: var(--danger);
    box-shadow: none !important;
}

.has-error .form-control:focus {
    border-color: var(--danger);
}

.input-group-addon {
    border-radius: 8px;
    border: 2px solid var(--gray-light);
    background: #ffffff;
}

/*===================================
  BLOCK 24: FORM ADVANCED
===================================*/
/* Bootstrap tag input */
.bootstrap-tagsinput {
    box-shadow: none;
    padding: 3px 7px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    background: #ffffff;
}

.bootstrap-tagsinput .label-info {
    background: var(--gradient-primary) !important;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 14px;
    margin: 2px;
    color: #ffffff;
}

/* Multiple select */
.ms-container {
    background: transparent url("../images/multiple-arrow.png") no-repeat 50% 50%;
}

.ms-container .ms-list {
    box-shadow: none;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    background: #ffffff;
}

.ms-container .ms-list.ms-focus {
    box-shadow: none;
    border: 2px solid var(--primary);
}

.ms-container .ms-selectable li.ms-elem-selectable,
.ms-container .ms-selection li.ms-elem-selection {
    border: none;
    padding: 5px 10px;
}

.search-input {
    margin-bottom: 10px;
}

.ms-selectable {
    box-shadow: none;
    outline: none !important;
}

.ms-container .ms-list.ms-focus {
    box-shadow: none;
}

.ms-container .ms-selectable li.ms-hover,
.ms-container .ms-selection li.ms-hover {
    background: var(--gradient-primary);
    color: #ffffff;
}

/* Select 2 */
.select2-container .select2-choice {
    background-image: none !important;
    border: none !important;
    height: auto !important;
    padding: 0 !important;
    line-height: 22px !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.select2-container .select2-choice .select2-arrow {
    background-image: none !important;
    background: transparent;
    border: none;
    width: 14px;
    top: -2px;
}

.select2-container .select2-container-multi.form-control {
    height: auto;
}

.select2-results .select2-highlighted {
    color: #ffffff;
    background: var(--gradient-primary);
}

.select2-drop-active {
    border: 2px solid var(--gray-light) !important;
    padding-top: 5px;
    box-shadow: var(--shadow-sm);
}

.select2-search input {
    border: 2px solid var(--gray-light);
}

.select2-container-multi {
    width: 100%;
}

.select2-container-multi .select2-choices {
    border: 2px solid var(--gray-light) !important;
    box-shadow: none !important;
    background-image: none !important;
    border-radius: 8px !important;
    min-height: 38px;
    background: #ffffff;
}

.select2-container-multi .select2-choices .select2-search-choice {
    padding: 4px 7px 4px 18px;
    margin: 5px 0 3px 5px;
    color: var(--text-dark);
    background: var(--light);
    border-color: var(--gray-light);
    box-shadow: none;
}

.select2-container-multi .select2-choices .select2-search-field input {
    padding: 7px 7px 7px 10px;
    font-family: inherit;
}

/* Datepicker */
.datepicker {
    padding: 8px;
}

.datepicker th {
    font-size: 14px !important;
}

.datepicker table tr td.today, .datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover,
.datepicker table tr td.selected, .datepicker table tr td.selected:hover,
.datepicker table tr td.selected.disabled, .datepicker table tr td.selected.disabled:hover,
.datepicker table tr td span.active, .datepicker table tr td span.active:hover,
.datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled:hover {
    background-image: none;
}

.datepicker table tr td span.active:hover, .datepicker table tr td span.active:hover:hover,
.datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active.disabled:hover:hover,
.datepicker table tr td span.active:active, .datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active.active, .datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled:hover.active,
.datepicker table tr td span.active.disabled, .datepicker table tr td span.active:hover.disabled,
.datepicker table tr td span.active.disabled.disabled, .datepicker table tr td span.active.disabled:hover.disabled,
.datepicker table tr td span.active[disabled], .datepicker table tr td span.active:hover[disabled],
.datepicker table tr td span.active.disabled[disabled], .datepicker table tr td span.active.disabled:hover[disabled] {
    background-color: var(--primary);
}

.datepicker table tr td.active, .datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover {
    background-color: var(--primary) !important;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}

.datepicker thead tr:first-child th:hover, .datepicker tfoot tr th:hover {
    background-color: var(--light);
}

.datepicker-inline {
    border: 2px solid var(--gray-light);
}

/* Date Range Picker */
.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.daterangepicker .input-mini.active {
    border: 2px solid var(--primary);
}

.daterangepicker .ranges li {
    border-radius: 6px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 12px;
}

.daterangepicker select.hourselect, .daterangepicker select.minuteselect,
.daterangepicker select.secondselect, .daterangepicker select.ampmselect {
    border: 2px solid var(--gray-light);
    padding: 2px;
    width: 60px;
}

.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: #ffffff;
}

/*===================================
  BLOCK 25: WIZARD
===================================*/
.wizard > .content {
    background: #ffffff;
    min-height: 240px;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid var(--gray-light);
}

.wizard > .content > .body {
    padding: 0;
    position: relative;
}

.wizard > .content > .body input {
    border: 2px solid var(--gray-light);
}

.wizard > .content > .body ul > li {
    display: block;
    line-height: 30px;
}

.wizard > .content > .body label.error {
    color: var(--danger);
    margin-left: 0;
}

.wizard > .content > .body label {
    display: inline-block;
    margin-top: 10px;
}

.wizard > .steps .number {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    display: inline-block;
    line-height: 30px;
    margin-right: 10px;
    width: 30px;
    text-align: center;
}

.wizard > .steps .disabled a {
    background: #ffffff;
    color: var(--text-dark);
    cursor: default;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
}

.wizard > .steps .disabled a:hover {
    background: var(--light);
    color: var(--text-dark);
    cursor: default;
    border: 2px solid var(--gray-light);
}

.wizard > .steps .disabled a:active {
    background: var(--light);
    color: var(--text-dark);
    cursor: default;
    border: 2px solid var(--gray-light);
}

.wizard > .steps .current a {
    background: var(--gradient-primary);
    border-radius: 8px;
}

.wizard > .steps .current a:hover {
    background: var(--gradient-primary);
}

.wizard > .steps .current a:hover .number {
    color: #ffffff;
}

.wizard > .steps .current a:active {
    background: var(--gradient-primary);
}

.wizard > .steps .current a:active .number {
    color: #ffffff;
}

.wizard > .steps .current a .number {
    color: #ffffff;
}

.wizard > .steps .done a {
    background: var(--gray-light);
    border-radius: 8px;
}

.wizard > .steps .done a:hover {
    background: var(--gray-light);
}

.wizard > .steps .done a:active {
    background: var(--gray-light);
}

.wizard > .steps a, .wizard > .steps a:hover, .wizard > .steps a:active, .wizard > .content {
    border-radius: 8px;
}

.wizard > .actions a {
    background: var(--gradient-primary);
    border-radius: 8px;
    color: #ffffff;
}

.wizard > .actions a:hover {
    background: linear-gradient(179deg, #0e5bc9 29.16%, #c40073 172.5%);
    border-radius: 8px;
    color: #ffffff;
}

.wizard > .actions a:active {
    background: linear-gradient(179deg, #0e5bc9 29.16%, #c40073 172.5%);
    border-radius: 8px;
    color: #ffffff;
}

.wizard > .actions .disabled a {
    background: #ffffff;
    color: var(--text-dark);
    cursor: default;
    border: 2px solid var(--gray-light);
}

.wizard > .actions .disabled a:hover {
    background: var(--light);
    color: var(--text-dark);
    cursor: default;
    border: 2px solid var(--gray-light);
}

.wizard > .actions .disabled a:active {
    background: var(--light);
    color: var(--text-dark);
    cursor: default;
    border: 2px solid var(--gray-light);
}

@media (max-width: 767px) {
    .wizard > .steps > ul > li {
        width: 100%;
    }
    .wizard > .content {
        padding: 0 !important;
    }
    .wizard > .content > .body {
        float: none;
        position: relative;
        width: 100%;
        height: 100%;
        padding: 0;
    }
    .wizard.vertical > .steps {
        display: inline;
        float: none;
        width: 100%;
    }
    .wizard.vertical > .content {
        display: inline;
        float: none;
        margin: 0;
        width: 100%;
    }
}

/*===================================
  BLOCK 26: TABLES
===================================*/
.error {
    color: var(--danger);
    font-size: 12px;
    font-weight: 500;
}

.parsley-error {
    border-color: var(--danger) !important;
}

.parsley-errors-list {
    display: none;
    margin: 0;
    padding: 0;
}

.parsley-errors-list.filled {
    display: block;
}

.parsley-errors-list > li {
    font-size: 12px;
    list-style: none;
    color: var(--danger);
}

/*===================================
  BLOCK 27: FORM UPLOADS
===================================*/
.dropzone {
    min-height: 230px;
    border: 2px dashed var(--gray-light);
    background: white;
    border-radius: 12px;
    transition: var(--transition);
}

.dropzone:hover {
    border-color: var(--primary);
}

.dropzone .dz-message {
    font-size: 30px;
    color: var(--gray);
}

/*===================================
  BLOCK 28: WYSIWYG
===================================*/
.mce-content-body p {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 300;
}

.mce-popover .mce-arrow:after {
    border-bottom-color: red;
}

.mce-popover .mce-colorbutton-grid {
    margin: 0;
    border: 1px solid var(--gray-light) !important;
    padding: 4px;
}

.mce-reset .mce-window-head {
    border-bottom: 1px solid var(--gray-light);
}

.mce-reset .mce-window-head .mce-title {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 400;
}

.mce-reset .mce-textbox {
    border-radius: 0;
    box-shadow: none;
    outline: 0;
    border-color: var(--gray-light);
    height: 30px;
    font-weight: 300;
    line-height: 30px;
    color: #aaaaaa;
    font-size: 14px;
}

.mce-reset .mce-textbox:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.mce-reset .mce-checkbox .mce-ico {
    background-image: none;
    background-color: #ffffff;
    border-radius: 0;
    border: 1px solid var(--gray-light);
}

.mce-reset .mce-checkbox .mce-label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
}

.mce-container {
    border-radius: 0 !important;
    border-width: 0 !important;
}

.mce-container .mce-menubar {
    background-color: var(--light) !important;
    border: 1px solid var(--gray-light) !important;
    padding: 2px;
}

.mce-container .mce-menubar .mce-btn button span {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
}

.mce-container .mce-menubar .mce-btn button .mce-caret {
    border-top-color: var(--text-muted);
}

.mce-container .mce-menubar .mce-btn button:hover {
    background-color: var(--gray-light);
}

.mce-container .mce-menubar .mce-btn.mce-active button {
    background-color: var(--gray-light);
}

.mce-container .mce-btn {
    background-color: #e2e8f0;
    background-image: none;
    outline: 0;
    border: 0;
    border-radius: 0;
}

.mce-container .mce-btn button {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-shadow: none;
}

.mce-container .mce-btn:hover {
    background-color: #cbd5e2;
    background-image: none;
}

.mce-container .mce-primary {
    background: var(--gradient-primary);
    background-image: none;
    outline: 0;
    border: 0;
    border-radius: 0;
}

.mce-container .mce-primary button {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-shadow: none;
}

.mce-container .mce-primary:hover {
    background: linear-gradient(179deg, #0e5bc9 29.16%, #c40073 172.5%);
    background-image: none;
}

.mce-container .mce-toolbar-grp {
    background-color: var(--light) !important;
    border: 1px solid var(--gray-light) !important;
    border-top-width: 0 !important;
    padding: 6px;
}

.mce-container .mce-edit-area {
    border: 1px solid var(--gray-light) !important;
    border-width: 0px 1px !important;
}

.mce-container .mce-statusbar {
    background-color: var(--light) !important;
    border: 1px solid var(--gray-light) !important;
}

.mce-container .mce-statusbar .mce-path .mce-path-item {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
}

.mce-container .mce-widget {
    color: #9398a0;
    font-size: 14px;
    font-weight: 400;
    border-left: 1px solid transparent;
}

.mce-container .mce-btn-group {
    border: 1px solid var(--gray-light) !important;
}

.mce-container .mce-btn-group .mce-btn {
    box-shadow: none;
    background-image: none;
    background-color: #ffffff;
    border-width: 0;
    border-radius: 0 !important;
}

.mce-container .mce-btn-group .mce-btn:hover,
.mce-container .mce-btn-group .mce-btn:focus {
    box-shadow: none;
    background-image: none;
    background-color: #ffffff;
}

.mce-container .mce-btn-group .mce-btn button span {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 300;
}

.mce-container .mce-btn-group .mce-btn button .mce-caret {
    color: var(--text-muted);
    font-size: 14px;
}

.mce-container .mce-ico {
    color: var(--text-muted);
    font-size: 14px;
}

.mce-container .mce-panel {
    background-image: none;
}

.mce-container.mce-menu {
    border: 1px solid var(--gray-light) !important;
}

.mce-container.mce-menu .mce-menu-item {
    background-image: none;
}

.mce-container.mce-menu .mce-menu-item .mce-ico {
    color: var(--primary);
    font-size: 14px;
}

.mce-container.mce-menu .mce-menu-item .mce-text {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
}

.mce-container.mce-menu .mce-menu-item .mce-menu-shortcut {
    color: #aaaaaa;
    font-size: 12px;
    font-weight: 300;
    text-transform: capitalize;
}

.mce-container.mce-menu .mce-menu-item:hover,
.mce-container.mce-menu .mce-menu-item:focus,
.mce-container.mce-menu .mce-menu-item.mce-selected {
    background-color: var(--primary);
}

.mce-container.mce-menu .mce-menu-item:hover .mce-ico,
.mce-container.mce-menu .mce-menu-item:focus .mce-ico,
.mce-container.mce-menu .mce-menu-item.mce-selected .mce-ico,
.mce-container.mce-menu .mce-menu-item:hover .mce-text,
.mce-container.mce-menu .mce-menu-item:focus .mce-text,
.mce-container.mce-menu .mce-menu-item.mce-selected .mce-text,
.mce-container.mce-menu .mce-menu-item:hover .mce-menu-shortcut,
.mce-container.mce-menu .mce-menu-item:focus .mce-menu-shortcut,
.mce-container.mce-menu .mce-menu-item.mce-selected .mce-menu-shortcut {
    color: #ffffff;
}

.mce-container.mce-menu .mce-menu-item.mce-disabled .mce-ico,
.mce-container.mce-menu .mce-menu-item.mce-disabled .mce-text,
.mce-container.mce-menu .mce-menu-item.mce-disabled .mce-menu-shortcut {
    color: #aaaaaa;
}

.mce-container.mce-menu .mce-menu-item.mce-disabled:hover,
.mce-container.mce-menu .mce-menu-item.mce-disabled:focus,
.mce-container.mce-menu .mce-menu-item.mce-disabled.mce-selected {
    background-color: var(--gray-light);
}

.mce-container.mce-menu .mce-menu-item.mce-disabled:hover .mce-ico,
.mce-container.mce-menu .mce-menu-item.mce-disabled:focus .mce-ico,
.mce-container.mce-menu .mce-menu-item.mce-disabled.mce-selected .mce-ico,
.mce-container.mce-menu .mce-menu-item.mce-disabled:hover .mce-text,
.mce-container.mce-menu .mce-menu-item.mce-disabled:focus .mce-text,
.mce-container.mce-menu .mce-menu-item.mce-disabled.mce-selected .mce-text,
.mce-container.mce-menu .mce-menu-item.mce-disabled:hover .mce-menu-shortcut,
.mce-container.mce-menu .mce-menu-item.mce-disabled:focus .mce-menu-shortcut,
.mce-container.mce-menu .mce-menu-item.mce-disabled.mce-selected .mce-menu-shortcut {
    color: #ffffff;
}

.mce-container.mce-menu .mce-menu-item-sep {
    background-color: var(--gray-light);
}

.mce-container.mce-menu .mce-menu-item-sep:hover {
    background-color: var(--gray-light);
}

.mce-menubtn button {
    color: var(--text-dark) !important;
}

.mce-menu-item-normal.mce-active {
    background-color: var(--primary) !important;
}

.mce-menu-item-normal.mce-active .mce-text {
    color: #ffffff !important;
}

/*===================================
  BLOCK 29: SUMMERNOTE
===================================*/
.note-btn-group .dropdown-menu > li > a {
    display: block;
    padding: 5px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: var(--text-dark);
    white-space: nowrap;
}

.note-btn-group .dropdown-menu > li > a:hover {
    background-color: var(--light);
}

.note-image-popover, .note-air-popover, .note-link-popover {
    display: none;
}

.note-image-popover .dropdown-toggle::after, .note-air-popover .dropdown-toggle::after, .note-link-popover .dropdown-toggle::after {
    margin-left: 0;
}

.note-icon-caret {
    display: none;
}

.note-editor {
    position: relative;
}

.note-editor .btn-default {
    background-color: transparent;
    border-color: transparent;
}

.note-editor .btn-group-sm > .btn, .note-editor .btn-sm {
    padding: 8px 12px;
}

.note-editor .note-toolbar {
    background-color: var(--light);
    border-bottom: 1px solid var(--gray-light);
    margin: 0;
}

.note-editor .note-statusbar {
    background-color: #ffffff;
}

.note-editor .note-statusbar .note-resizebar {
    border-top: none;
    height: 15px;
    padding-top: 3px;
}

.note-editor.note-frame {
    border: 1px solid var(--gray-light);
    border-radius: 8px;
}

.note-popover .popover .popover-content {
    padding: 5px 0 10px 5px;
}

.note-popover .btn-default {
    background-color: transparent;
    border-color: transparent;
}

.note-popover .btn-group-sm > .btn, .note-popover .btn-sm {
    padding: 8px 12px;
}

.note-toolbar {
    padding: 5px 0 10px 5px;
}

/*===================================
  BLOCK 30: TABLES
===================================*/
.table {
    margin-bottom: 10px;
}

.table > tbody > tr > td, .table > tbody > tr > th,
.table > tfoot > tr > td, .table > tfoot > tr > th,
.table > thead > tr > td, .table > thead > tr > th {
    border-top: 1px solid var(--gray-light);
    vertical-align: middle;
}

.table > thead > tr > td.middle-align, .table > tbody > tr > td.middle-align {
    vertical-align: middle;
}

.table > thead > tr > th {
    border-bottom: 2px solid var(--gray-light);
    font-weight: 600;
    color: var(--dark);
}

.table-hover tbody tr:hover {
    background-color: var(--light);
}

.table > tbody > tr.success > td, .table > tbody > tr.success > th,
.table > tbody > tr > td.success, .table > tbody > tr > th.success,
.table > tfoot > tr.success > td, .table > tfoot > tr.success > th,
.table > tfoot > tr > td.success, .table > tfoot > tr > th.success,
.table > thead > tr.success > td, .table > thead > tr.success > th,
.table > thead > tr > td.success, .table > thead > tr > th.success {
    background-color: rgba(236, 0, 140, 0.1);
}

.table > tbody > tr.info > td, .table > tbody > tr.info > th,
.table > tbody > tr > td.info, .table > tbody > tr > th.info,
.table > tfoot > tr.info > td, .table > tfoot > tr.info > th,
.table > tfoot > tr > td.info, .table > tfoot > tr > th.info,
.table > thead > tr.info > td, .table > thead > tr.info > th,
.table > thead > tr > td.info, .table > thead > tr > th.info {
    background-color: rgba(59, 130, 246, 0.1);
}

.table > tbody > tr.warning > td, .table > tbody > tr.warning > th,
.table > tbody > tr > td.warning, .table > tbody > tr > th.warning,
.table > tfoot > tr.warning > td, .table > tfoot > tr.warning > th,
.table > tfoot > tr > td.warning, .table > tfoot > tr > th.warning,
.table > thead > tr.warning > td, .table > thead > tr.warning > th,
.table > thead > tr > td.warning, .table > thead > tr > th.warning {
    background-color: rgba(245, 158, 11, 0.1);
}

.table > tbody > tr.danger > td, .table > tbody > tr.danger > th,
.table > tbody > tr > td.danger, .table > tbody > tr > th.danger,
.table > tfoot > tr.danger > td, .table > tfoot > tr.danger > th,
.table > tfoot > tr > td.danger, .table > tfoot > tr > th.danger,
.table > thead > tr.danger > td, .table > thead > tr.danger > th,
.table > thead > tr > td.danger, .table > thead > tr > th.danger {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Datatable */
div.dataTables_paginate ul.pagination {
    margin-top: 30px;
}

div.dataTables_info {
    padding-top: 38px;
}

.dt-buttons {
    float: left;
}

div#datatable-buttons_info {
    float: left;
}

/* Responsive Table (Plugin) */
.table-rep-plugin .dropdown-menu li.checkbox-row {
    padding: 2px 15px !important;
}

.table-rep-plugin .table-responsive {
    border: none !important;
}

.table-rep-plugin tbody th {
    font-size: 14px;
    font-weight: normal;
}

.table-rep-plugin .checkbox-row {
    padding-left: 40px;
}

.table-rep-plugin .checkbox-row label {
    display: inline-block;
    padding-left: 5px;
    position: relative;
}

.table-rep-plugin .checkbox-row label::before {
    transition: 0.3s ease-in-out;
    background-color: #ffffff;
    border-radius: 4px;
    border: 2px solid var(--gray-light);
    content: "";
    display: inline-block;
    height: 17px;
    left: 0;
    margin-left: -20px;
    position: absolute;
    width: 17px;
    outline: none !important;
}

.table-rep-plugin .checkbox-row label::after {
    color: var(--gray-light);
    display: inline-block;
    font-size: 11px;
    height: 16px;
    left: 0;
    margin-left: -20px;
    padding-left: 3px;
    padding-top: 1px;
    position: absolute;
    top: -1px;
    width: 16px;
}

.table-rep-plugin .checkbox-row input[type="checkbox"] {
    cursor: pointer;
    opacity: 0;
    z-index: 1;
    outline: none !important;
}

.table-rep-plugin .checkbox-row input[type="checkbox"]:disabled + label {
    opacity: 0.65;
}

.table-rep-plugin .checkbox-row input[type="checkbox"]:focus + label::before {
    outline-offset: -2px;
    outline: none;
}

.table-rep-plugin .checkbox-row input[type="checkbox"]:checked + label::after {
    content: "\f00c";
    font-family: 'FontAwesome';
}

.table-rep-plugin .checkbox-row input[type="checkbox"]:disabled + label::before {
    background-color: #f0f2f6;
    cursor: not-allowed;
}

.table-rep-plugin .checkbox-row input[type="checkbox"]:checked + label::before {
    background-color: #ffffff;
    border-color: var(--primary);
}

.table-rep-plugin .checkbox-row input[type="checkbox"]:checked + label::after {
    color: var(--primary);
}

.table-rep-plugin table.focus-on tbody tr.focused th,
.table-rep-plugin table.focus-on tbody tr.focused td,
.table-rep-plugin .sticky-table-header {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: var(--primary);
}

.table-rep-plugin .sticky-table-header.fixed-solution {
    top: 70px !important;
}

.table-rep-plugin .btn-default {
    background-color: #ffffff;
    border: 1px solid var(--gray-light);
    color: var(--dark);
}

.table-rep-plugin .btn-default.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
}

.table-rep-plugin .btn-toolbar {
    display: block;
}

.table-rep-plugin .btn-group.pull-right {
    float: right;
}

.table-rep-plugin .btn-group.pull-right .dropdown-menu {
    left: auto;
    right: 0;
}

/* Data table editable */
.add-edit-table td, .add-edit-table th {
    vertical-align: middle !important;
}

.add-edit-table td {
    border: 0 !important;
}

#datatable-editable .actions a {
    padding: 5px;
}

#datatable-editable .form-control {
    background-color: #ffffff;
    width: auto;
    height: 20px;
}

#datatable-editable .fa-trash-o {
    color: var(--danger);
}

#datatable-editable .fa-times {
    color: var(--danger);
}

#datatable-editable .fa-pencil {
    color: var(--primary);
}

#datatable-editable .fa-save {
    color: var(--secondary);
}

#datatable td {
    font-weight: normal;
}

/* Tablesaw */
.tablesaw thead {
    background: var(--light);
    background-image: none;
    border: none;
}

.tablesaw thead th {
    text-shadow: none;
    letter-spacing: 0.06em;
}

.tablesaw thead tr:first-child th {
    padding-top: 1.1em;
    padding-bottom: 0.9em;
    font-weight: 600;
    font-family: inherit;
    border: none;
}

.tablesaw td, .tablesaw tbody th {
    font-size: inherit;
    line-height: inherit;
    padding: 10px !important;
}

.tablesaw-stack tbody tr, .tablesaw tbody tr {
    border-bottom: none;
}

.tablesaw-sortable .tablesaw-sortable-head.tablesaw-sortable-ascending button:after,
.tablesaw-sortable .tablesaw-sortable-head.tablesaw-sortable-descending button:after {
    font-family: FontAwesome;
    font-size: 10px;
}

.tablesaw-sortable .tablesaw-sortable-head.tablesaw-sortable-ascending button:after {
    content: "\f176";
}

.tablesaw-sortable .tablesaw-sortable-head.tablesaw-sortable-descending button:after {
    content: "\f175";
}

.tablesaw-bar .btn-select.btn-small:after, .tablesaw-bar .btn-select.btn-micro:after {
    font-size: 8px;
    padding-right: 10px;
}

.tablesaw-swipe .tablesaw-cell-persist {
    box-shadow: none;
}

.tablesaw-enhanced .tablesaw-bar .btn {
    text-shadow: none;
    background-image: none;
}

.tablesaw-enhanced .tablesaw-bar .btn.btn-select:hover {
    background: #ffffff;
}

.tablesaw-enhanced .tablesaw-bar .btn:hover, .tablesaw-enhanced .tablesaw-bar .btn:focus, .tablesaw-enhanced .tablesaw-bar .btn:active {
    color: var(--primary) !important;
    background-color: var(--light);
    outline: none !important;
    box-shadow: none !important;
    background-image: none;
}

/* Footable */
.footable-odd {
    background-color: #ffffff;
}

.footable-detail-show {
    background-color: var(--light);
}

.footable > thead > tr > th > span.footable-sort-indicator {
    float: right;
}

.footable-pagination li {
    margin-left: 5px;
    display: inline-block;
    float: left;
}

.footable-pagination li a {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--dark);
    background-color: #ffffff;
    border: 1px solid var(--gray-light);
    border-radius: 6px;
}

.footable-pagination li.active a {
    color: #ffffff;
    background: var(--gradient-primary);
    border-color: var(--primary);
}

/*===================================
  BLOCK 31: MAPS
===================================*/
.gmaps, .gmaps-panaroma {
    height: 300px;
    background: #f0f2f6;
    border-radius: 8px;
}

.gmaps-overlay {
    display: block;
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    line-height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    padding: 10px 20px;
}

.gmaps-overlay_arrow {
    left: 50%;
    margin-left: -16px;
    width: 0;
    height: 0;
    position: absolute;
}

.gmaps-overlay_arrow.above {
    bottom: -15px;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid var(--primary);
}

.gmaps-overlay_arrow.below {
    top: -15px;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 16px solid var(--primary);
}

/*===================================
  BLOCK 32: EMAIL
===================================*/
.mails a {
    color: var(--text-dark);
}

.mails td {
    vertical-align: middle !important;
    position: relative;
}

.mails td:last-of-type {
    width: 100px;
    padding-right: 20px;
}

.mails tr:hover .text-white {
    display: none;
}

.mails .mail-select {
    padding: 12px 20px;
    min-width: 134px;
}

.mails .checkbox {
    margin-bottom: 0;
    margin-top: 0;
    vertical-align: middle;
    display: inline-block;
    height: 17px;
}

.mails .checkbox label {
    min-height: 16px;
}

.mail-list .list-group-item {
    background-color: transparent;
    color: var(--dark);
    font-size: 0.95rem;
    border: none;
    border-radius: 8px;
    transition: var(--transition);
}

.mail-list .list-group-item:hover {
    background-color: var(--light);
}

.mail-list .list-group-item:focus {
    background-color: var(--light);
}

.mail-list .list-group-item.active {
    background: var(--gradient-primary);
    border-radius: 8px;
    color: #ffffff;
}

.unread a {
    font-weight: 600;
    color: var(--dark);
}

/*===================================
  BLOCK 33: CALENDAR
===================================*/
.calendar {
    float: left;
    margin-bottom: 0;
}

.none-border .modal-footer {
    border-top: none;
}

.fc-toolbar {
    margin-bottom: 5px;
}

.fc-toolbar h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    text-transform: uppercase;
}

.fc-day {
    background: #ffffff;
}

.fc-toolbar .fc-state-active, .fc-toolbar .ui-state-active,
.fc-toolbar button:focus, .fc-toolbar button:hover,
.fc-toolbar .ui-state-hover {
    z-index: 0;
}

.fc-widget-header {
    border: 1px solid var(--gray-light);
}

.fc-widget-content {
    border: 1px solid var(--gray-light);
}

.fc th.fc-widget-header {
    background: #f0f2f6;
    font-size: 14px;
    line-height: 20px;
    padding: 10px 0px;
    text-transform: uppercase;
    font-weight: 600;
}

.fc-button {
    background: #ffffff;
    border: 1px solid var(--gray-light);
    color: var(--text-dark);
    text-transform: capitalize;
    border-radius: 6px;
    padding: 5px 12px;
    transition: var(--transition);
}

.fc-button.fc-state-active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: var(--primary);
}

.fc-text-arrow {
    font-family: arial;
    font-size: 16px;
}

.fc-state-hover {
    background: var(--light);
}

.fc-state-highlight {
    background: var(--light);
}

.fc-cell-overlay {
    background: var(--light);
}

.fc-unthemed .fc-today {
    background: #ffffff;
    border-color: var(--warning);
}

.fc-event {
    border-radius: 6px;
    border: none;
    cursor: move;
    font-size: 13px;
    margin: 5px 7px;
    padding: 5px 5px;
    text-align: center;
    background: var(--gradient-primary);
}

.fc-event .fc-content {
    color: #ffffff;
}

.external-event {
    color: #ffffff;
    cursor: move;
    margin: 10px 0;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--gradient-primary);
}

.fc-basic-view td.fc-week-number span {
    padding-right: 5px;
}

.fc-basic-view td.fc-day-number {
    padding-right: 5px;
}

/*===================================
  BLOCK 34: TIMELINE
===================================*/
.timeline {
    border-collapse: collapse;
    border-spacing: 0;
    display: table;
    margin-bottom: 50px;
    position: relative;
    table-layout: fixed;
    width: 100%;
}

.timeline .time-show {
    margin-bottom: 30px;
    margin-right: -75px;
    margin-top: 30px;
    position: relative;
}

.timeline .time-show a {
    color: #ffffff;
}

.timeline:before {
    background-color: #e2e8f0;
    bottom: 0;
    content: "";
    left: 50%;
    position: absolute;
    top: 30px;
    width: 1px;
    z-index: 0;
}

.timeline .timeline-icon {
    background: #e2e8f0;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    color: #ffffff;
    display: block;
    height: 20px;
    left: -54px;
    margin-top: -10px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 20px;
}

.timeline .timeline-icon i {
    margin-top: 9px;
}

.timeline .time-icon:before {
    font-size: 16px;
    margin-top: 5px;
}

h3.timeline-title {
    color: #a1b0c2;
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.timeline-item {
    display: table-row;
}

.timeline-item:before {
    content: "";
    display: block;
    width: 50%;
}

.timeline-item .timeline-desk .arrow {
    border-bottom: 8px solid transparent;
    border-right: 8px solid #ffffff !important;
    border-top: 8px solid transparent;
    display: block;
    height: 0;
    left: -7px;
    margin-top: -10px;
    position: absolute;
    top: 50%;
    width: 0;
}

.timeline-item.alt:after {
    content: "";
    display: block;
    width: 50%;
}

.timeline-item.alt .timeline-desk .arrow-alt {
    border-bottom: 8px solid transparent;
    border-left: 8px solid #ffffff !important;
    border-top: 8px solid transparent;
    display: block;
    height: 0;
    left: auto;
    margin-top: -10px;
    position: absolute;
    right: -7px;
    top: 50%;
    width: 0;
}

.timeline-item.alt .timeline-desk .album {
    float: right;
    margin-top: 20px;
}

.timeline-item.alt .timeline-desk .album a {
    float: right;
    margin-left: 5px;
}

.timeline-item.alt .timeline-icon {
    left: auto;
    right: -56px;
}

.timeline-item.alt:before {
    display: none;
}

.timeline-item.alt .panel {
    margin-left: 0;
    margin-right: 45px;
}

.timeline-item.alt .panel .panel-body p + p {
    margin-top: 10px !important;
}

.timeline-item.alt h4 {
    text-align: right;
}

.timeline-item.alt p {
    text-align: right;
}

.timeline-item.alt .timeline-date {
    text-align: right;
}

.timeline-desk {
    display: table-cell;
    vertical-align: top;
    width: 50%;
}

.timeline-desk h4 {
    font-size: 16px;
    margin: 0;
}

.timeline-desk .panel {
    background: #ffffff;
    display: block;
    margin-bottom: 5px;
    margin-left: 45px;
    position: relative;
    text-align: left;
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.timeline-desk h5 span {
    color: var(--gray);
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.timeline-desk p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 0;
}

.timeline-desk .album {
    margin-top: 12px;
}

.timeline-desk .album a {
    float: left;
    margin-right: 5px;
}

.timeline-desk .album img {
    height: 36px;
    width: auto;
    border-radius: 6px;
}

.timeline-desk .notification {
    background: none repeat scroll 0 0 #ffffff;
    margin-top: 20px;
    padding: 8px;
}

/*===================================
  BLOCK 35: TIMELINE 2
===================================*/
.timeline-2 {
    border-left: 2px solid var(--primary);
    position: relative;
}

.timeline-2 .time-item:after {
    background-color: #ffffff;
    border-color: var(--primary);
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
    bottom: 0;
    content: '';
    height: 10px;
    left: 0;
    margin-left: -6px;
    position: absolute;
    top: 5px;
    width: 10px;
}

.time-item {
    border-color: var(--gray-light);
    padding-bottom: 10px;
    position: relative;
}

.time-item:before {
    content: " ";
    display: table;
}

.time-item:after {
    background-color: #ffffff;
    border-color: var(--primary);
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
    bottom: 0;
    content: '';
    height: 14px;
    left: 0;
    margin-left: -8px;
    position: absolute;
    top: 5px;
    width: 14px;
}

.time-item-item:after {
    content: " ";
    display: table;
}

.item-info {
    margin-bottom: 15px;
    margin-left: 15px;
}

.item-info p {
    font-size: 13px;
}

/*===================================
  BLOCK 36: SWEET ALERT
===================================*/
.sweet-alert h2 {
    font-size: 22px;
}

.sweet-alert p {
    font-size: 14px;
    line-height: 22px;
}

.sweet-alert .icon.success .placeholder {
    border: 4px solid rgba(236, 0, 140, 0.3);
}

.sweet-alert .icon.success .line {
    background-color: var(--secondary);
}

.sweet-alert .icon.warning {
    border-color: var(--warning);
}

.sweet-alert .icon.info {
    border-color: var(--info);
}

.sweet-alert .btn-warning:focus, .sweet-alert .btn-info:focus,
.sweet-alert .btn-success:focus, .sweet-alert .btn-danger:focus,
.sweet-alert .btn-default:focus {
    box-shadow: none;
}

/*===================================
  BLOCK 37: NOTIFICATION
===================================*/
.notifyjs-metro-base {
    position: relative;
    min-height: 52px;
    min-width: 250px;
    color: var(--text-dark);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    animation: dropdownOpen 0.3s ease-out;
}

.notifyjs-metro-base .image {
    display: table;
    position: absolute;
    height: auto;
    width: auto;
    left: 25px;
    top: 50%;
    font-size: 24px;
    transform: translate(-50%, -50%);
}

.notifyjs-metro-base .text-wrapper {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    margin: 10px 10px 10px 52px;
    clear: both;
}

.notifyjs-metro-base .title {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 5px;
    font-weight: bold;
}

.notifyjs-metro-base .text {
    font-size: 12px;
    font-weight: normal;
    max-width: 360px;
    vertical-align: middle;
}

.notifyjs-metro-cool {
    color: #fafafa !important;
    background-color: var(--dark);
    border: 1px solid var(--dark);
}

/*===================================
  BLOCK 38: NESTABLE
===================================*/
.custom-dd .dd-list .dd-item .dd-handle {
    background: rgba(90, 110, 133, 0.1) !important;
    border: none;
    padding: 8px 16px;
    height: auto;
    font-weight: 600;
    border-radius: 8px;
}

.custom-dd .dd-list .dd-item .dd-handle:hover {
    color: var(--primary);
}

.custom-dd .dd-list .dd-item button {
    height: auto;
    font-size: 17px;
    margin: 8px auto;
    color: var(--text-dark);
    width: 30px;
}

.custom-dd-empty .dd-list .dd3-handle {
    border: none;
    background: rgba(90, 110, 133, 0.1) !important;
    height: 36px;
    width: 36px;
}

.custom-dd-empty .dd-list .dd3-handle:before {
    color: inherit;
    top: 7px;
}

.custom-dd-empty .dd-list .dd3-handle:hover {
    color: var(--primary);
}

.custom-dd-empty .dd-list .dd3-content {
    height: auto;
    border: none;
    padding: 8px 16px 8px 46px;
    background: rgba(90, 110, 133, 0.1) !important;
    font-weight: 600;
}

.custom-dd-empty .dd-list .dd3-content:hover {
    color: var(--primary);
}

.custom-dd-empty .dd-list button {
    width: 26px;
    height: 26px;
    font-size: 16px;
    font-weight: 600;
}

/*===================================
  BLOCK 39: CHARTS
===================================*/
.morris-hover.morris-default-style {
    border-radius: 6px;
    padding: 10px 12px;
    background: var(--dark);
    border: none;
    color: #ffffff !important;
}

.chart-detail-list li {
    margin: 0 10px;
}

.chart-detail-list li h5 {
    font-size: 15px;
}

.pieLabel div {
    font-size: 14px !important;
}

.jqstooltip {
    box-sizing: content-box;
}

.chart {
    position: relative;
    display: inline-block;
    width: 110px;
    height: 110px;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.chart canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.chart.chart-widget-pie {
    margin-top: 5px;
    margin-bottom: 5px;
}

.percent {
    display: inline-block;
    line-height: 110px;
    z-index: 2;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
}

.percent:after {
    content: '%';
    margin-left: 0.1em;
    font-size: .8em;
}

/* Flot chart */
#flotTip {
    padding: 8px 12px;
    background-color: var(--dark);
    z-index: 100;
    color: #ffffff;
    opacity: 0.9;
    font-size: 13px;
    border-radius: 6px;
}

.legend tr {
    height: 20px;
}

.legendLabel {
    padding-left: 10px !important;
    line-height: 10px;
    padding-right: 10px;
}

/* Chartist chart */
.ct-golden-section:before {
    float: none;
}

.ct-chart {
    max-height: 300px;
}

.ct-chart .ct-label {
    fill: #a1b0c2;
    color: #a1b0c2;
    font-size: 12px;
    line-height: 1;
}

.ct-chart.simple-pie-chart-chartist .ct-label {
    color: #ffffff;
    fill: #ffffff;
    font-size: 16px;
}

.ct-chart .ct-series.ct-series-a .ct-bar,
.ct-chart .ct-series.ct-series-a .ct-line,
.ct-chart .ct-series.ct-series-a .ct-point,
.ct-chart .ct-series.ct-series-a .ct-slice-donut {
    stroke: var(--primary);
}

.ct-chart .ct-series.ct-series-b .ct-bar,
.ct-chart .ct-series.ct-series-b .ct-line,
.ct-chart .ct-series.ct-series-b .ct-point,
.ct-chart .ct-series.ct-series-b .ct-slice-donut {
    stroke: #f48c6e;
}

.ct-chart .ct-series.ct-series-c .ct-bar,
.ct-chart .ct-series.ct-series-c .ct-line,
.ct-chart .ct-series.ct-series-c .ct-point,
.ct-chart .ct-series.ct-series-c .ct-slice-donut {
    stroke: var(--secondary);
}

.ct-chart .ct-series.ct-series-d .ct-bar,
.ct-chart .ct-series.ct-series-d .ct-line,
.ct-chart .ct-series.ct-series-d .ct-point,
.ct-chart .ct-series.ct-series-d .ct-slice-donut {
    stroke: var(--info);
}

.ct-chart .ct-series.ct-series-e .ct-bar,
.ct-chart .ct-series.ct-series-e .ct-line,
.ct-chart .ct-series.ct-series-e .ct-point,
.ct-chart .ct-series.ct-series-e .ct-slice-donut {
    stroke: var(--gray);
}

.ct-chart .ct-series.ct-series-f .ct-bar,
.ct-chart .ct-series.ct-series-f .ct-line,
.ct-chart .ct-series.ct-series-f .ct-point,
.ct-chart .ct-series.ct-series-f .ct-slice-donut {
    stroke: #9b6b9e;
}

.ct-chart .ct-series.ct-series-g .ct-bar,
.ct-chart .ct-series.ct-series-g .ct-line,
.ct-chart .ct-series.ct-series-g .ct-point,
.ct-chart .ct-series.ct-series-g .ct-slice-donut {
    stroke: var(--warning);
}

.ct-series-a .ct-area, .ct-series-a .ct-slice-pie {
    fill: var(--primary);
}

.ct-series-b .ct-area, .ct-series-b .ct-slice-pie {
    fill: #f48c6e;
}

.ct-series-c .ct-area, .ct-series-c .ct-slice-pie {
    fill: var(--secondary);
}

.ct-series-d .ct-area, .ct-series-d .ct-slice-pie {
    fill: var(--info);
}

/* Sparkline chart */
.jqstooltip {
    background-color: var(--dark) !important;
    padding: 5px 10px !important;
    border-radius: 6px;
    border-color: var(--dark) !important;
}

.jqsfield {
    font-size: 12px !important;
    line-height: 18px !important;
}

/* Circliful charts */
.circliful-chart {
    margin: 0 auto;
}

.circle-text, .circle-info, .circle-text-half, .circle-info-half {
    font-size: 12px;
    font-weight: 600;
}

/*===================================
  BLOCK 40: COUNTDOWN
===================================*/
.home-wrapper {
    margin: 10% 0;
}

.app-countdown {
    margin-top: 40px;
    text-align: center;
}

.app-countdown div {
    display: inline-block;
}

.app-countdown div span {
    display: block;
    width: 150px;
}

.app-countdown div span:first-child {
    font-size: 3em;
    font-weight: 700;
    height: 48px;
    line-height: 48px;
}

.app-countdown div span:last-child {
    color: var(--text-dark);
    font-size: 0.9em;
    height: 25px;
    line-height: 25px;
}

.app-countdown > * {
    text-align: center;
}

/*===================================
  BLOCK 41: GALLERY
===================================*/
.portfolioFilter a {
    transition: all 0.3s ease-out;
    color: var(--dark);
    padding: 5px 10px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
}

.portfolioFilter a:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.portfolioFilter a.current {
    background-color: var(--primary);
    color: #ffffff;
}

.thumb {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-top: 30px;
    padding: 10px;
    width: 100%;
}

.thumb-img {
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.gal-detail h4 {
    margin: 16px auto 10px auto;
    width: 80%;
    white-space: nowrap;
    display: block;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
}

.gal-detail p {
    margin-bottom: 10px;
}

.gal-detail .ga-border {
    height: 3px;
    width: 40px;
    background-color: var(--primary);
    margin: 10px auto;
}

/*===================================
  BLOCK 42: MAINTENANCE
===================================*/
.icon-main {
    font-size: 60px;
}

.maintenance-page {
    margin: 10% 0;
}

.home-text {
    letter-spacing: 1px;
}

/*===================================
  BLOCK 43: ACCOUNTS
===================================*/
.wrapper-page {
    margin: 7.5% auto;
    max-width: 360px;
}

.wrapper-page .form-control {
    height: 40px;
}

.wrapper-page .btn-email {
    padding: 9px 20px;
}

.logo-lg {
    font-size: 30px !important;
    font-weight: 700;
    line-height: 70px;
    color: var(--primary) !important;
}

.user-thumb img {
    height: 88px;
    margin: 0 auto;
    width: 88px;
    border-radius: 50%;
    object-fit: cover;
}

.ex-page-content .svg-box {
    float: right;
}

.message-box {
    margin-top: 120px;
    margin-left: 50px;
    font-weight: 300;
}

.message-box h1 {
    color: var(--dark);
    font-size: 98px;
    font-weight: 700;
    line-height: 98px;
    text-shadow: rgba(61, 61, 61, 0.1) 1px 1px, rgba(61, 61, 61, 0.05) 2px 2px, rgba(61, 61, 61, 0.05) 3px 3px;
}

#Polygon-1, #Polygon-2, #Polygon-3, #Polygon-4, #Polygon-5 {
    animation: float 1s infinite ease-in-out alternate;
}

#Polygon-2 { animation-delay: .2s; }
#Polygon-3 { animation-delay: .4s; }
#Polygon-4 { animation-delay: .6s; }
#Polygon-5 { animation-delay: .8s; }

@keyframes float {
    100% { transform: translateY(20px); }
}

/*===================================
  BLOCK 44: TREE VIEW
===================================*/
.jstree-default .jstree-clicked, .jstree-default .jstree-wholerow-clicked {
    background: rgba(26, 115, 231, 0.4);
    box-shadow: none;
}

.jstree-default .jstree-hovered, .jstree-default .jstree-wholerow-hovered {
    background: rgba(26, 115, 231, 0.2);
    box-shadow: none;
}

/*===================================
  BLOCK 45: PRICING
===================================*/
.pricing-column {
    position: relative;
    margin-bottom: 40px;
}

.pricing-column .inner-box {
    position: relative;
    padding: 0 0 50px;
}

.pricing-column .plan-header {
    position: relative;
    padding: 30px 20px 25px;
}

.pricing-column .plan-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.pricing-column .plan-price {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--dark);
}

.pricing-column .plan-duration {
    font-size: 13px;
    color: var(--gray);
}

.pricing-column .plan-stats {
    position: relative;
    padding: 30px 20px 15px;
}

.pricing-column .plan-stats li {
    margin-bottom: 15px;
    line-height: 24px;
}

.pricing-column .plan-stats li i {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.ribbon {
    position: absolute;
    left: 5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}

.ribbon span {
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(-45deg);
    width: 100px;
    display: block;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.06), 0 1px 0 0 rgba(0, 0, 0, 0.02);
    background: var(--secondary);
    background: linear-gradient(var(--secondary) 0%, var(--secondary) 100%);
    position: absolute;
    top: 19px;
    letter-spacing: 1px;
    left: -21px;
}

.ribbon span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    z-index: -1;
    border-left: 3px solid var(--secondary-dark);
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid var(--secondary-dark);
}

.ribbon span:after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid var(--secondary-dark);
    border-bottom: 3px solid transparent;
    border-top: 3px solid var(--secondary-dark);
}

/*===================================
  BLOCK 46: FAQ
===================================*/
.question-q-box {
    height: 30px;
    width: 30px;
    color: #ffffff;
    background-color: var(--danger);
    text-align: center;
    border-radius: 50%;
    float: left;
    line-height: 26px;
    font-weight: 700;
}

.question {
    margin-top: 0;
    margin-left: 50px;
    font-size: 16px;
}

.answer {
    margin-left: 50px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 26px;
}

/*===================================
  BLOCK 47: DASHBOARD WIDGETS - PROFESSIONAL & ATTRACTIVE
===================================*/

/* Base Widget Styles - Premium Design */
.widget-bg-color-icon.card-box {
    position: relative;
    overflow: hidden;
    border-radius: 20px !important;
    padding: 20px 18px !important; /* 🔥 ajustado */
    min-height: 110px; /* 🔥 elimina espacio abajo */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-clip: padding-box;
    margin-bottom: 20px;
    cursor: pointer;
    border: none !important;
}

/* Glassmorphism Effect with Gradient Backgrounds */
.widget-bg-color-icon.compras-box {
    background: linear-gradient(135deg, #f28e05 0%, #ff3838 100%) !important;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.widget-bg-color-icon.cobros-box {
    background: linear-gradient(135deg, #269290 0%, #004325 100%) !important;
    box-shadow: 0 10px 30px rgba(61, 153, 112, 0.3);
}

.widget-bg-color-icon.ventas-box {    
    background: linear-gradient(135deg, #4b004d 0%, #ff07f7 100%) !important;
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
}

.widget-bg-color-icon.pagos-box {
    background: linear-gradient(135deg, #0001ffe0 0%, #0e006e 100%) !important;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
}

/* Text Content Styling */
.widget-bg-color-icon .text-content {
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-right: 75px; /* 🔥 espacio icono */
}

/* Value Number */
.widget-bg-color-icon .text-content h3,
.widget-bg-color-icon .text-content .h3 {
    font-size: 35px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Label */
.widget-bg-color-icon .text-content p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

/* 🔥 ICONO CON CIRCULO Y POSICIÓN CORRECTA */
.widget-bg-color-icon .bg-icon {
    position: absolute;
    right: 8px;           /* 🔥 más pegado */
    top: 50%;             /* 🔥 centrado */
    transform: translateY(-50%);

    width: 52px;
    height: 52px;
    line-height: 52px;

    border-radius: 50%;   /* 🔴 círculo restaurado */

    text-align: center;
    font-size: 26px;

    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(5px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);

    transition: all 0.3s ease;
    z-index: 2;
}

.widget-bg-color-icon .bg-icon i {
    font-size: 26px;
    line-height: 52px;
    color: #fff !important;
}

/* Hover Effects */
.widget-bg-color-icon.card-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.widget-bg-color-icon:hover .bg-icon {
    transform: translateY(-50%) scale(1.08);
    background: rgba(255, 255, 255, 0.25);
}

.widget-bg-color-icon:hover .text-content h3 {
    transform: scale(1.05);
}

/* Shimmer Effect */
.widget-bg-color-icon.card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.widget-bg-color-icon.card-box:hover::before {
    left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .widget-bg-color-icon.card-box {
        padding: 16px 14px !important;
        min-height: 95px;
    }

    .widget-bg-color-icon .text-content {
        padding-right: 60px;
    }

    .widget-bg-color-icon .bg-icon {
        width: 44px;
        height: 44px;
        line-height: 44px;
        right: 6px;
    }

    .widget-bg-color-icon .bg-icon i {
        font-size: 20px;
        line-height: 44px;
    }
}

/*===================================
  BLOCK 48: MODAL STYLES - UNIFIED
  Todos los estilos relacionados con modales están agrupados aquí
===================================*/

/* Modal Base Styles */
.modal {
  .modal-dialog {
    .modal-content {
      border-color: var(--gray-light, #DDDDDD);
      border-radius: 12px;
      box-shadow: var(--shadow-sm, none);

      .modal-header {
        border-bottom-width: 1px;
        margin: 0;
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        
        .close {
          top: -18px;
          position: absolute;
          right: -18px;
          height: 36px;
          width: 36px;
          background: var(--gradient-primary, $dark);
          opacity: 1;
          border: 2px solid #ffffff;
          text-shadow: none;
          color: #ffffff;
          border-radius: 50%;
          margin: 0;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 20px;
          font-weight: bold;
          line-height: 1;
          z-index: 10;
          transition: all 0.2s ease;
          
          &:hover {
            background: darken($dark, 10%);
            transform: scale(1.05);
          }
        }
        
        .modal-title {
          margin: 0;
          font-size: 18px;
          font-weight: 500;
          
          i {
            margin-right: 8px;
          }
        }
      }
      
      .modal-body {
        padding: 20px;
      }
    }
  }
}

/* Ajuste del botón cerrar para móvil */
@media (max-width: 767px) {
  .modal {
    .modal-dialog {
      .modal-content {
        .modal-header {
          padding: 12px 16px;
          
          .close {
            top: -12px;
            right: -12px;
            height: 32px;
            width: 32px;
            font-size: 18px;
            
            &:hover {
              transform: scale(1.05);
            }
          }
          
          .modal-title {
            font-size: 16px;
            padding-right: 20px;
            
            i {
              margin-right: 6px;
            }
          }
        }
        
        .modal-body {
          padding: 16px;
        }
      }
    }
  }
}

/* Título más grande en escritorio */
@media (min-width: 768px) {
  .modal {
    .modal-dialog {
      .modal-content {
        .modal-header {
          .modal-title {
            font-size: 22px;
            font-weight: 600;
          }
        }
      }
    }
  }
}

/* Título aún más grande en pantallas grandes */
@media (min-width: 1200px) {
  .modal {
    .modal-dialog {
      .modal-content {
        .modal-header {
          .modal-title {
            font-size: 24px;
            font-weight: 600;
          }
        }
      }
    }
  }
}

.modal-full {
  width: 98%;
}

/* Ajuste de espaciado para campos dentro de modales */
.modal,
.modal-block {
  .row {
    margin-left: -5px;
    margin-right: -5px;
  }
  
  [class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
  }
  
  /* Forzamos que los campos ocupen el 100% del ancho disponible */
  .form-control,
  select,
  textarea,
  .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    display: block !important;
  }
  
  /* Ajuste específico para Select2 */
  .select2-container {
    .select2-choice,
    .select2-selection--single {
      width: 100% !important;
      box-sizing: border-box;
    }
  }
}

.modal-block {
  background: transparent;
  margin: 40px auto;
  max-width: 600px;
  padding: 0;
  position: relative;
  text-align: left;
}

/* Custom-modal */
.modal-demo {
  background-color: $white;
  width: 600px;
  border-radius: 8px;
  display: none;

  .close {
    position: absolute;
    top: 14px;
    right: 25px;
    color: $white;
    opacity: 0.5;
    font-weight: normal;
    font-size: 26px;
    transition: opacity 0.2s ease;

    &:hover {
      opacity: 1;
    }
  }
}

.custom-modal-title {
  padding: 15px 25px;
  line-height: 22px;
  font-size: 18px;
  background: var(--gradient-primary, $primary);
  color: #ffffff;
  text-align: left;
  margin: 0;
}

.custom-modal-text {
  padding: 20px;
}

.custombox-modal-flash,
.custombox-modal-rotatedown {
  .close {
    top: 20px;
    z-index: 9999;
  }
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Clientes: estilos para modales */
#nuevoCliente .modal-content,
#editarCliente .modal-content,
#dataDelete:has(#id_cliente) .modal-content {
    border: 0;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
}

#nuevoCliente .modal-header,
#editarCliente .modal-header {
    background: #2C3E50;
    color: #ffffff;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
}

#dataDelete:has(#id_cliente) .modal-header {
    background: #ef3f45;
    color: #ffffff;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
}

#nuevoCliente .modal-title,
#editarCliente .modal-title,
#dataDelete:has(#id_cliente) .modal-title,
#nuevoCliente .modal-title i,
#editarCliente .modal-title i,
#dataDelete:has(#id_cliente) .modal-title i {
    color: #ffffff;
}

#nuevoCliente .modal-footer,
#editarCliente .modal-footer,
#dataDelete:has(#id_cliente) .modal-footer {
    border-top: 1px solid #edf0f3;
    border-radius: 0 0 12px 12px;
}

/* Clientes: buscador y acciones en movil */
@media (max-width: 767px) {
    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE / NIT / CUI"]) .form-group.row {
        margin-left: 0;
        margin-right: 0;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE / NIT / CUI"]) .form-group.row > .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE / NIT / CUI"]) .form-group.row > .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 4px;
        padding-right: 4px;
        margin-top: 8px;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE / NIT / CUI"]) .form-group.row > .col-md-2:has(#loader) {
        display: none;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE / NIT / CUI"]) .btn-group,
    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE / NIT / CUI"]) .btn-group.pull-right,
    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE / NIT / CUI"]) .btn-group.dropup {
        float: none !important;
        width: 100%;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE / NIT / CUI"]) .btn {
        width: 100%;
        min-height: 38px;
        margin: 0;
        white-space: nowrap;
    }
}

/* Proveedores: buscador y acciones en movil */
@media (max-width: 767px) {
    form#datos_cotizacion:has(#q[placeholder="BUSCAR POR NOMBRE O NIT/CUI"]) .form-group.row {
        margin-left: 0;
        margin-right: 0;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR POR NOMBRE O NIT/CUI"]) .form-group.row > .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR POR NOMBRE O NIT/CUI"]) .form-group.row > .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 4px;
        padding-right: 4px;
        margin-top: 8px;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR POR NOMBRE O NIT/CUI"]) .form-group.row > .col-md-2:has(#loader) {
        display: none;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR POR NOMBRE O NIT/CUI"]) .btn-group,
    form#datos_cotizacion:has(#q[placeholder="BUSCAR POR NOMBRE O NIT/CUI"]) .btn-group.pull-right,
    form#datos_cotizacion:has(#q[placeholder="BUSCAR POR NOMBRE O NIT/CUI"]) .btn-group.dropup {
        float: none !important;
        width: 100%;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR POR NOMBRE O NIT/CUI"]) .btn {
        width: 100%;
        min-height: 38px;
        margin: 0;
        white-space: nowrap;
    }
}

/* Empleados: buscador y acciones en movil */
@media (max-width: 767px) {
    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE/DOCUMENTO"]) .form-group.row {
        margin-left: 0;
        margin-right: 0;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE/DOCUMENTO"]) .form-group.row > .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE/DOCUMENTO"]) .form-group.row > .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 4px;
        padding-right: 4px;
        margin-top: 8px;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE/DOCUMENTO"]) .form-group.row > .col-md-2:has(#loader) {
        display: none;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE/DOCUMENTO"]) .btn-group,
    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE/DOCUMENTO"]) .btn-group.pull-right,
    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE/DOCUMENTO"]) .btn-group.dropup {
        float: none !important;
        width: 100%;
    }

    form#datos_cotizacion:has(#q[placeholder="BUSCAR NOMBRE/DOCUMENTO"]) .btn {
        width: 100%;
        min-height: 38px;
        margin: 0;
        white-space: nowrap;
    }
}
