/* HostHive Dashboard Styles - Teal Blue & Light Blue Theme */

/* Dashboard Header */
.dashboard-header {
    background: var(--gradient);
    padding: 3rem 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.dashboard-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dashboard-header p {
    opacity: 0.8;
    margin-bottom: 0;
}

.dashboard-header .btn {
    margin-top: 1rem;
}

/* Dashboard Stats Bar */
.dashboard-stats-bar {
    background-color: white;
    padding: 1rem 0;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

.stat-item {
    padding: 1rem 0.5rem;
    transition: var(--transition);
}

.stat-item a {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: var(--text);
}

.stat-item:hover a {
    background-color: rgba(0, 131, 143, 0.05);
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 131, 143, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-content {
    flex: 1;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Custom Stat Icon Colors */
.stat-item:nth-child(1) .stat-icon {
    background-color: rgba(0, 131, 143, 0.1);
}

.stat-item:nth-child(1) .stat-icon i {
    color: var(--primary);
}

.stat-item:nth-child(2) .stat-icon {
    background-color: rgba(41, 182, 246, 0.1);
}

.stat-item:nth-child(2) .stat-icon i {
    color: var(--secondary);
}

.stat-item:nth-child(3) .stat-icon {
    background-color: rgba(0, 96, 100, 0.1);
}

.stat-item:nth-child(3) .stat-icon i {
    color: var(--primary-dark);
}

.stat-item:nth-child(4) .stat-icon {
    background-color: rgba(129, 212, 250, 0.1);
}

.stat-item:nth-child(4) .stat-icon i {
    color: var(--secondary-light);
}

/* Search Box */
.client-home-search {
    margin: 2rem 0 3rem;
}

.search-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.search-wrapper input {
    height: 60px;
    border-radius: var(--border-radius-lg);
    padding-left: 1.5rem;
    padding-right: 60px;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.search-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 131, 143, 0.1);
}

.search-wrapper button {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 50px;
    width: 50px;
    border: none;
    background: var(--gradient);
    color: white;
    font-size: 1.2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.search-wrapper button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Panel Enhancements */
.client-home-panels .panel {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 2rem;
}

.client-home-panels .panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.client-home-panels .panel-heading {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    position: relative;
}

.client-home-panels .panel-title {
    font-weight: 600;
    color: var(--text);
    font-size: 1.1rem;
}

.client-home-panels .panel-title i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.client-home-panels .panel-body {
    padding: 1.5rem;
}

.client-home-panels .list-group-item {
    padding: 1rem 1.5rem;
    border-color: rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.client-home-panels .list-group-item:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

.client-home-panels .list-group-item i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.client-home-panels .list-group-item.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

.client-home-panels .list-group-item.active i {
    color: white;
}

.client-home-panels .panel-footer {
    background-color: rgba(0, 0, 0, 0.01);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.5rem;
}

/* Badges */
.badge {
    background-color: var(--primary);
    font-weight: 500;
    border-radius: 10px;
    padding: 0.2rem 0.7rem;
}
