/* Using Inter font for better readability */
body {
    font-family: 'Inter', sans-serif;
}

/* Custom styles for the status indicators */
.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}
#status-checks .status-item:last-child {
    border-bottom: none;
}

.status-label {
    font-weight: 500;
    color: #374151;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.2;
}

.status-badge.success {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.failure {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-badge.warning {
    background-color: #fef3c7;
    color: #92400e;
}

/* Style for the collapsible details element */
details summary {
    list-style: none; /* Remove default marker */
    position: relative;
}

details summary::-webkit-details-marker {
    display: none; /* Hide for Safari */
}

details summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: 500;
    color: #4b5563;
    transition: transform 0.2s;
}

details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

#log-display {
    min-height: 100px;
    background-color: #1f2937;
}

/* Style for checkboxes in credentials list */
.credential-item {
    display: flex;
    align-items: center;
    background-color: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.credential-item input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    accent-color: #2563eb;
}

.credential-info {
    font-family: monospace;
    font-size: 0.875rem;
    color: #4b5563;
    word-break: break-all;
}

.credential-info .username {
    font-weight: bold;
    color: #111827;
}
