:root {
  --primary: #3c8dbc;
  --primary-dark: #367fa9;
  --primary-light: #5da5d8;
  --accent: #00c4cc;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --bg-dark: #222d32;
  --success: #00a65a;
}
/* Brand/Logo Styles */
.brand-link {
  /* background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); */
  /* padding: 1rem 0.5rem; */
  text-align: center;
  /* border-bottom: none; */
  /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}
.brand-text {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.brand-link:hover .brand-text {
  transform: scale(1.05);
  text-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
/* Sidebar Styles */
.main-sidebar {
  background-color: var(--bg-dark);
  border-right: none;
  box-shadow: 2px 0 15px rgba(0,0,0,0.1);
}

.sidebar {
  padding-bottom: 15px;
}
.nav-header {
  color: var(--accent);
  background: transparent;
  padding: 20px 15px 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  border-top: 1px solid rgba(255,255,255,0.1);
}
/* Alert Notifications */
.alert {
  border: none;
  border-left: 4px solid;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.navbar-light .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1.2rem;
  right: 1.2rem;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.hero-section {
    background: linear-gradient(135deg, #3c8dbc 0%, #367fa9 100%) !important;
    border-radius: 0.25rem;
    box-shadow: 0 4px 20px 0 rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    color: #3c8dbc;
    font-weight: 600;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3c8dbc 0%, #00c4cc 100%);
    border-radius: 3px;
}

.category-card .card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-radius: 8px;
}

.category-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.category-card .card-body {
    padding: 1.5rem;
}

.category-card h5 {
    color: #3c8dbc;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card .badge {
    font-size: 0.8rem;
    padding: 0.35em 0.65em;
    background-color: #3c8dbc;
}

.card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card-img-container {
    position: relative;
}

.card-img-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-img-container::after {
    opacity: 1;
}

.card-body {
    padding: 1.25rem;
}

.card-title a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover {
    color: #3c8dbc;
}

.card-text.text-muted {
    font-size: 0.9rem;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3c8dbc;
}

.badge-success {
    background-color: #00a65a;
}

.feature-box {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 8px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.feature-icon {
    color: #3c8dbc;
}

.feature-box h3 {
    color: #3c8dbc;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-box p {
    color: #666;
    font-size: 0.95rem;
}

.btn-outline-primary {
    border-color: #3c8dbc;
    color: #3c8dbc;
}

.btn-outline-primary:hover {
    background-color: #3c8dbc;
    color: white;
}

.btn-light {
    background-color: white;
    color: #3c8dbc;
    border: 1px solid #ddd;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .category-card {
        margin-bottom: 15px;
    }
    
    .feature-box {
        margin-bottom: 20px;
    }
}

/* Dashboard Page Styles */
.small-box {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    border: none;
    margin-bottom: 20px;
}

.small-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.small-box .inner {
    padding: 20px;
}

.small-box h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.small-box p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

.small-box .icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 0;
    font-size: 70px;
    color: rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.small-box:hover .icon {
    transform: scale(1.1);
    color: rgba(255,255,255,0.3);
}

.small-box .small-box-footer {
    background: rgba(0,0,0,0.1);
    color: white;
    display: block;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.small-box .small-box-footer:hover {
    background: rgba(0,0,0,0.2);
    color: white;
}

/* Color variants */
.small-box.bg-info {
    background: linear-gradient(135deg, #3c8dbc 0%, #367fa9 100%) !important;
}

.small-box.bg-success {
    background: linear-gradient(135deg, #00a65a 0%, #008d4c 100%) !important;
}

.small-box.bg-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e08e0b 100%) !important;
}

.small-box.bg-danger {
    background: linear-gradient(135deg, #dd4b39 0%, #c23321 100%) !important;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-header {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 20px;
    border-radius: 10px 10px 0 0 !important;
}

.card-title {
    font-weight: 600;
    color: #3c8dbc;
    margin: 0;
    font-size: 1.2rem;
}

.card-tools .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-bottom: 2px solid rgba(0,0,0,0.05);
    font-weight: 600;
    color: #3c8dbc;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: all 0.2s;
}

.table tbody tr:hover {
    background-color: rgba(60,141,188,0.05);
}

.table td, .table th {
    padding: 12px 15px;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,0.02);
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    letter-spacing: 0.5px;
    border-radius: 10px;
}

.badge.bg-success {
    background-color: #00a65a !important;
}

.badge.bg-warning {
    background-color: #f39c12 !important;
}

.badge.bg-danger {
    background-color: #dd4b39 !important;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .small-box h3 {
        font-size: 1.8rem;
    }
    
    .small-box p {
        font-size: 1rem;
    }
    
    .small-box .icon {
        font-size: 50px;
    }
    
    .card-header {
        padding: 10px 15px;
    }
    
    .table td, .table th {
        padding: 8px 10px;
    }
}

/* Animation for Dashboard Elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.small-box {
    animation: fadeInUp 0.5s ease forwards;
}

.small-box:nth-child(1) { animation-delay: 0.1s; }
.small-box:nth-child(2) { animation-delay: 0.2s; }
.small-box:nth-child(3) { animation-delay: 0.3s; }
.small-box:nth-child(4) { animation-delay: 0.4s; }

.card {
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.3s; }


    /* Footer Styles */
.main-footer {
    background-color: #f4f6f9;
    padding: 15px;
    color: #6c757d;
    border-top: 1px solid #dee2e6;
    font-size: 0.875rem;
    position: relative;
    margin-left: 0;
    transition: margin-left 0.3s ease-in-out;
}

.main-footer strong {
    font-weight: 600;
    color: #495057;
}

.main-footer a {
    color: #3c8dbc;
    text-decoration: none;
}

.main-footer a:hover {
    color: #2c6a91;
    text-decoration: underline;
}

.float-right {
    float: right;
}

.d-none {
    display: none !important;
}

.d-sm-inline-block {
    display: inline-block !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .main-footer {
        text-align: center;
        padding: 10px;
    }
    
    .float-right {
        float: none;
        display: block;
        margin-top: 10px;
    }
    
    .d-sm-inline-block {
        display: block !important;
    }
}

/* Sidebar expanded/collapsed state */
.sidebar-collapse .main-footer {
    margin-left: 0;
}

@media (min-width: 768px) {
    .sidebar-collapse .main-footer {
        margin-left: 0;
    }
    
    .main-footer {
        margin-left: 250px;
    }
}

                    /* Breadcrumb Styles */
.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 0;
    margin-bottom: 0;
    list-style: none;
    border-radius: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    display: inline-block;
    padding-right: 0.5rem;
    color: #6c757d;
}

.breadcrumb-item a {
    color: #3c8dbc;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #2c6a91;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding-right: 0.3rem;
    }
}

/* Dark mode support */
.skin-dark .breadcrumb-item + .breadcrumb-item::before,
.skin-dark .breadcrumb-item.active {
    color: #adb5bd;
}

.skin-dark .breadcrumb-item a {
    color: #6ea8fe;
}

.skin-dark .breadcrumb-item a:hover {
    color: #3d8bfd;
}