/* Additional styles for Creative Compliance Platform */

.progress-container {
    margin: 2rem 0;
}

.progress-step {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
}

.step-content {
    flex: 1;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0d6efd;
}

.dashboard-stat {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.dashboard-stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-stat p {
    margin-bottom: 0;
    color: #6c757d;
}

.stat-primary {
    background-color: #cfe2ff;
    color: #0d6efd;
}

.stat-success {
    background-color: #d1e7dd;
    color: #198754;
}

.stat-danger {
    background-color: #f8d7da;
    color: #dc3545;
}

.stat-warning {
    background-color: #fff3cd;
    color: #ffc107;
}

/* Animated loading indicator */
.loading {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.loading:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #0d6efd;
    border-color: #0d6efd transparent #0d6efd transparent;
    animation: loading 1.2s linear infinite;
}

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Tooltip styles */
.tooltip-inner {
    max-width: 300px;
    padding: 0.5rem 1rem;
}

/* Custom file input */
.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.custom-file-input::before {
    content: 'Select file';
    display: inline-block;
    background: linear-gradient(top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt;
}

.custom-file-input:hover::before {
    border-color: black;
}

.custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}
