/* CloudSkills Custom CSS */

/* Body and general styling */
body {
    background-color: #f5f7fb;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Enhanced custom tooltip styling */
.tooltip {
    font-size: 16px;
    opacity: 1;
    pointer-events: auto;
}
  
.tooltip-inner {
    max-width: 350px;
    padding: 12px 18px;
    color: #fff;
    text-align: left;
    background-color: rgba(41, 45, 62, 0.97);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    line-height: 1.6;
    font-weight: 400;
    word-wrap: break-word;
}
  
.tooltip .arrow {
    display: block;
    width: 14px;
    height: 14px;
}
  
.tooltip .arrow:before {
    content: "";
    border-width: 7px;
    border-top-color: rgba(41, 45, 62, 0.97);
    border-bottom-color: rgba(41, 45, 62, 0.97);
}
  
/* Add a slight zoom effect on tooltip hover for better readability */
.tooltip:hover .tooltip-inner {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Navbar enhancements */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Cards styling */
.card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

/* Dashboard cards */
.card .display-4 {
    font-weight: 600;
}

/* Progress bars */
.progress {
    height: 20px;
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
}

/* Tables */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

.table thead th {
    border-top: none;
    font-weight: 600;
    color: #444;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

/* Provider logo */
.provider-logo {
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

/* Footer */
.footer {
    border-top: 1px solid #eaedf2;
    margin-top: 3rem;
}

/* Responsiveness */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    h1.display-5 {
        font-size: 2rem;
    }
}