/* Detail Button styling */
.btn-detail {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
}
.btn-detail:hover {
  background-color: #e0a800;
  border-color: #d39e00;
}

/* Error details table */
.error-details-table {
  font-size: 0.9rem;
}
.error-details-table code {
  background-color: #f8f9fa;
  padding: 2px 6px;
  border-radius: 3px;
  color: #d63384;
}
.error-details-table pre {
  background-color: #f8f9fa;
  padding: 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.btn-back {
  min-width: 150px;
}

/* Error explanation alert styling */
.alert-info {
  border-left: 4px solid #17a2b8;
}

.alert-info .alert-heading {
  color: #0c5460;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.alert-info h6 {
  color: #495057;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.alert-info h6:first-of-type {
  margin-top: 0;
}

.alert-info p.small {
  color: #6c757d;
  line-height: 1.4;
}
/* Component styles for footer, license pages, and forms */

/* Footer styling */
.inline-style-ebcd9faf {
  background: #f8fbff;
  border-top: 2px solid #4a90e2;
  font-size: 1.08em;
  color: #333;
}

/* License form max-width */
.inline-style-aa203e33 {
  max-width: 600px;
}

/* License order page - card hover effects */
.card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Error Details Workbench Button */
.btn-workbench {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    font-size: 0.875rem;
    min-width: 100px;
}

.btn-workbench:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-workbench:focus {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* ============================================================
   STAT-BOX COMPONENTS - Professional Statistics Cards
   ============================================================ */

.stat-box {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: currentColor;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white !important;
    background: currentColor;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    line-height: 1.2;
}

/* Color Variants */
.stat-box.stat-primary {
    color: #0d6efd;
    border-color: #b6d7ff;
}

.stat-box.stat-primary:hover {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), rgba(13, 110, 253, 0.02));
}

.stat-box.stat-danger {
    color: #dc3545;
    border-color: #f5c2c7;
}

.stat-box.stat-danger:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(220, 53, 69, 0.02));
}

.stat-box.stat-success {
    color: #198754;
    border-color: #a3e6b5;
}

.stat-box.stat-success:hover {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.05), rgba(25, 135, 84, 0.02));
}

.stat-box.stat-warning {
    color: #fd7e14;
    border-color: #ffe5cc;
}

.stat-box.stat-warning:hover {
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.05), rgba(253, 126, 20, 0.02));
}

.stat-box.stat-info {
    color: #0dcaf0;
    border-color: #b3e5fc;
}

.stat-box.stat-info:hover {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.05), rgba(13, 202, 240, 0.02));
}

/* Responsive Design */
@media (max-width: 768px) {
    .stat-box {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* Analysis Cards */
.analysis-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.analysis-card .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.25rem;
    margin: 0;
}

.analysis-card .card-header h5 {
    margin: 0;
    color: #495057;
    font-weight: 600;
}

.analysis-card .card-body {
    padding: 1.25rem;
}

.chart-container {
    position: relative;
    height: 300px;
    margin: 1rem 0;
}

/* Table improvements */
.url-truncate {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.timestamp {
    color: #6c757d;
    font-family: 'Courier New', monospace;
}

.username-attempt {
    color: #dc3545;
    font-weight: 500;
}
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-workbench i {
    margin-right: 4px;
}

/* Drop zone styling (replaces inline styles) */
.drop-zone {
    cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bi-check-circle-fill {
  font-size: 1.1rem;
}

/* Profile validation - disabled button styles */
button[disabled][data-bs-toggle="tooltip"] {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: auto;
}

button[disabled][data-bs-toggle="tooltip"]:hover {
  opacity: 0.5 !important;
  transform: none !important;
}
