.tag {
    display: inline-block;
    padding: 3px 10px;
    margin: 2px 4px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
}

.tag-descriptive {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.tag-descriptive::before {
    content: "🔍 Descriptive";
}

.tag-descriptive::after {
    content: "Identifies factual statements that describe reality without making value judgments. A description is not an endorsement";
}

.tag-empirical {
    background-color: #f3e5f5;
    color: #6a1b9a;
    border: 1px solid #ce93d8;
}

.tag-empirical::before {
    content: "📊 Empirical";
}

.tag-empirical::after {
    content: "Highlights claims supported by scientific evidence, research findings, or measurable data. Used to support an argument or descriptive statement.";
}

.tag-illustrative {
    background-color: #fff3e0;
    color: #e65100;
    border: 1px solid #ffb74d;
}

.tag-illustrative::before {
    content: "🖼️ Illustrative Example";
}

.tag-illustrative::after {
    content: "Presents hypothetical scenarios, thought experiments, or specific examples that clarify abstract concepts.";
}

.tag-inference {
    background-color: #fce4ec;
    color: #c2185b;
    border: 1px solid #f48fb1;
}

.tag-inference::before {
    content: "🔗 Inference";
}

.tag-inference::after {
    content: "Marks logical conclusions drawn from established premises or evidence. These statements show what logically follows from accepting the preceding arguments.";
}

.tag-implicit {
    background-color: #fff9e6;
    color: #8b6914;
    border: 1px solid #ffd966;
}

.tag-implicit::before {
    content: "🧠 Implicit Assumptions";
}

.tag-implicit::after {
    content: "Identifies unstated assumptions or background beliefs that underlie an argument but aren't explicitly stated. They can be used to narrow the scope by arguing only the important points.";
}

.tag-rebuttal {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.tag-rebuttal::before {
    content: "⚔️ Rebuttal";
}

.tag-rebuttal::after {
    content: "Marks counterarguments that challenge previous claims, reasoning, or potential criticisms of the argument being made.";
}

.important-premise {
    background-color: #f0f8ff;
    border-left: 5px solid #2e7d32;
    border-radius: 4px;
    padding: 20px 24px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.15);
    position: relative;
}

.important-premise h4 {
    font-weight: 700;
    font-size: 0.85em;
    color: #2e7d32;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 12px;
}

.important-premise p {
    margin: 0;
    color: #1a472a;
    font-size: 1.05em;
    line-height: 1.7;
    font-weight: 500;
}

.important-premise strong {
    color: #1b5e20;
}

/* Important Conclusion Callout Block */
.important-conclusion {
    background-color: #f3e5f5;
    border-left: 5px solid #6a1b9a;
    border-radius: 4px;
    padding: 20px 24px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(106, 27, 154, 0.15);
    position: relative;
}

.important-conclusion h4 {
    font-weight: 700;
    font-size: 0.85em;
    color: #6a1b9a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 12px;
}

.important-conclusion p {
    margin: 0;
    color: #4a148c;
    font-size: 1.05em;
    line-height: 1.7;
    font-weight: 500;
}

.important-conclusion strong {
    color: #38006b;
}

/* Tooltip Base Styles */
.tag {
    position: relative;
}

.tag::after {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    padding: 10px;
    border-radius: 6px;
    background-color: rgba(33, 33, 33, 0.95);
    color: #fff;
    text-align: center;
    font-size: 0.85em;
    line-height: 1.5;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    font-weight: normal;
    white-space: normal;
}

.tag:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Important Checkpoint Callout Block */
.important-checkpoint {
    background-color: #e3f2fd;
    border-left: 5px solid #1565c0;
    border-radius: 4px;
    padding: 20px 24px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.15);
    position: relative;
}

.important-checkpoint h4 {
    font-weight: 700;
    font-size: 0.85em;
    color: #1565c0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.important-checkpoint p {
    margin: 0;
    color: #0d47a1;
    font-size: 1.05em;
    line-height: 1.7;
    font-weight: 500;
}

.important-checkpoint strong {
    color: #0277bd;
}

