@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom styles */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Accessibility focus styles */
:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Code editor styling */
.code-editor {
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    min-height: 300px;
}

/* Status badges */
.status-badge {
    @apply inline-flex items-center px-3 py-1 rounded-full text-sm font-medium;
}

.status-badge.pass {
    @apply bg-green-100 text-green-800;
}

.status-badge.fail {
    @apply bg-red-100 text-red-800;
}

.status-badge.na {
    @apply bg-gray-100 text-gray-800;
}

.status-badge.unknown {
    @apply bg-yellow-100 text-yellow-800;
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}