/* Military Time Converter Styles */

.mil-grid-bg {
    background-image: radial-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

.dark .mil-grid-bg {
    background-image: radial-gradient(rgba(16, 185, 129, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
}

.mil-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: rgb(71 85 105);
}

.dark .mil-label {
    color: rgb(203 213 225);
}

.mil-input {
    border-radius: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.8);
    color: rgb(15 23 42);
    transition: all 0.15s ease-in-out;
}

.dark .mil-input {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    color: rgb(241 245 249);
}

.mil-input:focus {
    outline: none;
    border-color: rgb(16, 185, 129);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.mil-tab {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.625rem;
    color: rgb(100 116 139);
    transition: all 0.15s ease;
}

.dark .mil-tab {
    color: rgb(148 163 184);
}

.mil-tab-active {
    background: rgb(255 255 255);
    color: rgb(15 23 42);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .mil-tab-active {
    background: rgb(30 41 59);
    color: rgb(241 245 249);
}

.mil-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    background: rgba(241, 245, 249, 0.9);
    color: rgb(51 65 85);
    border: 1px solid rgba(203, 213, 225, 0.6);
    cursor: pointer;
    transition: all 0.15s ease;
}

.dark .mil-chip {
    background: rgba(30, 41, 59, 0.7);
    color: rgb(203, 213, 225);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mil-chip:hover {
    background: rgba(16, 185, 129, 0.15);
    color: rgb(5, 150, 105);
    border-color: rgba(16, 185, 129, 0.3);
}

.dark .mil-chip:hover {
    background: rgba(16, 185, 129, 0.2);
    color: rgb(110, 231, 183);
    border-color: rgba(16, 185, 129, 0.4);
}

.mil-period-btn {
    padding: 0.625rem 1rem;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(241, 245, 249, 0.7);
    color: rgb(100 116 139);
    transition: all 0.15s ease;
}

.dark .mil-period-btn {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(30, 41, 59, 0.5);
    color: rgb(148 163 184);
}

.mil-period-active {
    background: rgb(16 185 129) !important;
    color: rgb(255 255 255) !important;
    border-color: rgb(16 185 129) !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

/* Reference Table */
.mil-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.mil-th {
    padding: 0.625rem 0.875rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgb(100 116 139);
}

.dark .mil-th {
    color: rgb(148 163 184);
}

.mil-td {
    padding: 0.5rem 0.875rem;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.dark .mil-td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mil-table tr:hover {
    background: rgba(16, 185, 129, 0.05);
}

/* Canonical FAQ Accordion styles */
.tool-guide .tg-eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgb(113 113 122);
}
.tool-guide .tg-eyebrow::before {
    content: "— ";
}

