/* =====================================================

/* Utility classes */
.hidden {
  display: none !important;
}
   TinyToolWeb - jwt-decoder.css

/* Utility classes */
.hidden {
  display: none !important;
}
   ===================================================== */

/* Utility classes */
.hidden {
  display: none !important;
}


.tool-jwt-decoder .textarea-group {
  margin-bottom: var(--spacing-lg);
}

.tool-jwt-decoder .textarea-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.tool-jwt-decoder textarea {
  width: 100%;
  min-height: 120px;
  padding: var(--spacing-md);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'Courier New', monospace;
  font-size: 0.9375rem;
  line-height: 1.6;
  resize: vertical;
  background: var(--bg-body);
  color: var(--text-dark);
  transition: all var(--transition-base);
}

.tool-jwt-decoder textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.tool-jwt-decoder textarea.error {
  border-color: var(--error);
  background: rgba(239, 68, 68, 0.05);
}

.tool-jwt-decoder .error-message {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  font-weight: 500;
  margin-bottom: var(--spacing-lg);
  display: none;
}

.tool-jwt-decoder .error-message.show {
  display: block;
}

.tool-jwt-decoder .decode-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.tool-jwt-decoder .decode-card {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
}

.tool-jwt-decoder .decode-card h3 {
  margin-bottom: var(--spacing-md);
  color: var(--primary);
  font-size: 1.125rem;
}

.tool-jwt-decoder .decode-content {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  background: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  max-height: 400px;
  overflow-y: auto;
}

.tool-jwt-decoder .token-info {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.tool-jwt-decoder .token-info h3 {
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
  font-size: 1.125rem;
}

.tool-jwt-decoder .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.tool-jwt-decoder .info-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.tool-jwt-decoder .info-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-light);
}

.tool-jwt-decoder .info-value {
  font-family: 'Courier New', monospace;
  color: var(--text-dark);
  font-size: 0.9375rem;
}

.tool-jwt-decoder .status-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.tool-jwt-decoder .status-badge.status-valid {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.tool-jwt-decoder .status-badge.status-expired {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

@media (max-width: 768px) {
  .tool-jwt-decoder .decode-sections {
    grid-template-columns: 1fr;
  }
  
  .tool-jwt-decoder .decode-content {
    max-height: 250px;
  }
}

/* =====================================================
