.tool-jwt {
    background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.tool-jwt .jwt-card {
    border: none;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    border-left: 4px solid #0ea5e9;
}

.tool-jwt .jwt-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.jwt-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.jwt-tab {
    flex: 1 1 8rem;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    color: #1F2937;
    border-radius: 0.5rem;
    padding: 0.65rem 0.75rem;
    font-weight: 600;
}

.jwt-tab.is-active {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff;
}

.tool-jwt .form-control,
.tool-jwt .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
}

.tool-jwt textarea.form-control {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.tool-jwt .form-control:focus,
.tool-jwt .form-select:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.tool-jwt .btn-jwt-go {
    background: #0ea5e9;
    color: #fff !important;
    border: none;
    font-weight: 600;
    border-radius: 0.5rem;
}

.tool-jwt .btn-jwt-go:hover,
.tool-jwt .btn-jwt-go:focus {
    background: #0284c7;
    color: #fff !important;
}

.jwt-warn {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fdba74;
    border-radius: 0.5rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
}

.jwt-status {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.jwt-status.is-expired {
    color: #b91c1c;
}

.jwt-status.is-active {
    color: #15803d;
}

.jwt-pre {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.75rem;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.85rem;
}

.jwt-claims {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.jwt-claim {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.45rem;
    padding: 0.55rem 0.75rem;
}

.jwt-claim span {
    color: #64748b;
}

@media (max-width: 575.98px) {
    .tool-jwt .d-flex.gap-2 .btn,
    .jwt-tab {
        width: 100%;
    }
}
