/* =============================================
   Animal Bite Protocol — Module Styles
   (Animal_bite.css)
   Global theme loaded from style.css
   ============================================= */

/* --- Module-Specific Overrides --- */
.input-field {
    padding: 12px;
    margin-bottom: 20px;
    border-color: var(--text-muted);
    background: #111;
}

/* --- Segmented Control (custom variant) --- */
.toggle-group {
    margin-bottom: 20px;
}

.segmented-control {
    display: flex;
    border: 1px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
}

.segmented-control input[type="radio"] {
    display: none;
}

.segmented-control label {
    flex: 1;
    text-align: center;
    padding: 12px;
    margin: 0;
    cursor: pointer;
    color: var(--primary);
    font-weight: bold;
    transition: background 0.3s;
}

.segmented-control input[type="radio"]:checked + label {
    background: var(--primary);
    color: var(--bg);
}

/* --- Buttons --- */
.btn-primary, .btn-secondary {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-primary {
    background-color: var(--highlight);
    color: var(--bg);
}

.btn-primary:active {
    background-color: #b8962e;
}

.btn-secondary {
    background-color: #333;
    color: var(--text);
    border: 1px solid var(--text);
}

/* --- Rx Output --- */
.dx-text {
    color: var(--highlight);
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-top: 0;
}

.rx-symbol {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}

.rx-list {
    margin: 0 0 20px 20px;
    padding: 0;
    line-height: 1.6;
}

.rx-list li {
    margin-bottom: 8px;
}

/* --- ARV Date Table --- */
.table-title {
    color: var(--highlight);
    margin-bottom: 10px;
}

.arv-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary);
}

.arv-table th, .arv-table td {
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 10px;
    text-align: center;
}

.arv-table th {
    background: var(--primary);
    color: var(--bg);
    font-weight: bold;
}

.arv-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

/* --- FAQ --- */
.faq-content {
    background: var(--surface);
    padding: 15px;
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--text-muted);
    border-top: none;
    margin-top: -5px;
}

.faq-content h4 {
    color: var(--highlight);
    margin: 15px 0 5px 0;
}

.faq-content p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #ccc;
}

/* --- Summary Bar Override --- */
.summary-bar {
    background: var(--surface);
    border-left-width: 4px;
    padding: 15px 20px;
}

#summary-text {
    color: var(--text);
    font-weight: bold;
    font-size: 1.1rem;
}

.edit-text {
    color: var(--highlight);
    font-weight: bold;
    text-decoration: underline;
    font-size: 0.9rem;
}

.infected-wound-highlight {
    color: rgb(234, 177, 33);
    font-weight: bold;
}