/*Copyright 2025 Rahmat Adha*/
/*Licensed under the Apache License, Version 2.0*/
/*Nama author tidak boleh diubah atau dihapus.*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Container */
.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    animation: slideUp 0.5s ease-out;
    transform-origin: center bottom;
}

.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
    padding-bottom: 80px;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    pointer-events: none;
    user-select: none; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

h1 {
    font-size: 28px;
    color: #1a202c;
    margin-bottom: 10px;
    font-weight: 700;
}

.header-card h1 {
    font-size: 32px;
}

.subtitle {
    color: #718096;
    font-size: 14px;
}

.header-card .subtitle {
    font-size: 16px;
}

/* Status Icon */
.status-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    animation: scaleIn 0.5s ease-out;
}

.status-icon.success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    box-shadow: 0 10px 30px rgba(72, 187, 120, 0.4);
}

.status-icon.error, .status-icon.inactive {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    box-shadow: 0 10px 30px rgba(245, 101, 101, 0.4);
}

/* Accounts Section */
.accounts-section {
    margin: 30px 0;
}

.section-title {
    font-size: 14px;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.account-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.account-item:hover {
    background: #edf2f7;
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.account-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
    overflow: hidden;
}

.account-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.account-info {
    flex: 1;
    min-width: 0;
}

.account-name {
    font-weight: 600;
    color: #1a202c;
    font-size: 16px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-status {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.status-active {
    background: #c6f6d5;
    color: #22543d;
}

.status-inactive {
    background: #fed7d7;
    color: #742a2a;
}

.account-arrow {
    color: #cbd5e0;
    font-size: 20px;
    transition: all 0.3s ease;
}

.account-item:hover .account-arrow {
    color: #667eea;
    transform: translateX(5px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.empty-state svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    opacity: 0.3;
}

/* Buttons */
.fb-btn, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.fb-btn {
    width: 100%;
    background: #1877f2;
    color: white;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.fb-btn:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.4);
    padding: 12px 24px;
    font-size: 14px;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.5);
}

.btn.copied {
    background: #48bb78 !important;
    pointer-events: none;
}

.btn-modal {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-accept:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-accept:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-decline {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-decline:hover {
    background: #cbd5e0;
}

/* Icons */
.fb-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Copyright */
.copyright {
    margin-top: 30px;
    text-align: center;
    color: #a0aec0;
    font-size: 13px;
}

.copyright a {
    color: #a0aec0;
    text-decoration: none;
    margin: 0 8px;
}

.copyright a:hover {
    color: #667eea;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    animation: slideUp 0.4s ease-out;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    text-align: center;
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 14px;
    opacity: 0.9;
}

.modal-body {
    padding: 30px;
}

.modal-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.modal-section h3 {
    font-size: 16px;
    color: #1a202c;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 25px 0;
    padding: 15px;
    background: #fff5f5;
    border-radius: 10px;
    border: 2px solid #feb2b2;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 3px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-container label {
    font-size: 14px;
    color: #2d3748;
    line-height: 1.5;
    cursor: pointer;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

/* Cards */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
}

/* Info Items */
.info-item {
    margin-bottom: 15px;
    padding: 12px;
    background: #f7fafc;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.info-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.info-label {
    font-size: 12px;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    color: #1a202c;
    font-weight: 500;
    word-break: break-all;
}

/* Token Display */
.token-display {
    background: #1a202c;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
}

.token-display::-webkit-scrollbar {
    width: 8px;
}

.token-display::-webkit-scrollbar-track {
    background: #2d3748;
    border-radius: 10px;
}

.token-display::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 10px;
}

/* Permissions */
.permissions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.permission-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    transition: all 0.2s ease;
}

.permission-badge:hover {
    transform: scale(1.05);
}

.permission-granted {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 100%);
    color: #22543d;
}

.permission-declined {
    background: linear-gradient(135deg, #fed7d7 0%, #fc8181 100%);
    color: #742a2a;
}

/* Pages */
.page-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.page-card:hover {
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.page-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.page-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: slideDown 0.4s ease-out;
}

.alert-warning {
    background: linear-gradient(135deg, #fef5e7 0%, #ffeaa7 100%);
    color: #744210;
    border-left: 4px solid #f39c12;
}

.alert-icon {
    font-size: 24px;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.back-link:hover {
    background: rgba(255,255,255,0.3);
    gap: 12px;
}

.back-link::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f060";
  margin-right: 6px;
}

/* Loading */
.loading-container {
    text-align: center;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Document Pages (Privacy, Terms, Contact) */
.content {
    padding: 50px 40px;
    line-height: 1.8;
    color: #2d3748;
}

.last-updated {
    background: #f7fafc;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
    font-size: 14px;
    color: #4a5568;
}

.section {
    margin-bottom: 35px;
}

.section h2 {
    font-size: 24px;
    color: #1a202c;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.section h3 {
    font-size: 18px;
    color: #2d3748;
    margin: 20px 0 10px;
}

.section p {
    margin-bottom: 15px;
    font-size: 15px;
}

.section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.section li {
    margin-bottom: 10px;
    font-size: 15px;
}

.highlight-box, .warning-box {
    background: #fff5f5;
    border: 2px solid #feb2b2;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box {
    border: 3px solid #fc8181;
    padding: 25px;
    margin: 25px 0;
}

.highlight-box h3, .warning-box h3 {
    color: #c53030;
    margin-top: 0;
}

.warning-box h3 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-box p {
    color: #742a2a;
    font-weight: 500;
}

.info-box {
    background: #ebf8ff;
    border-left: 4px solid #4299e1;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.info-box h3 {
    color: #2c5282;
    margin-bottom: 10px;
    font-size: 16px;
}

.info-box p {
    color: #2d3748;
    font-size: 14px;
    line-height: 1.6;
}

.highlight {
    background: #fef5e7;
    border-left: 4px solid #f39c12;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
}

/* Contact Page */
.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    background: #edf2f7;
    border-color: #667eea;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    color: #1a202c;
    margin-bottom: 5px;
}

.contact-details p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

.contact-details a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .full-width {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 30px 20px;
    }
    
    .header h1 {
        font-size: 28px;
    }
    
    .content {
        padding: 30px 20px;
    }
    
    .section h2 {
        font-size: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .account-name {
        font-size: 14px;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .header-card {
        padding: 30px 20px;
    }
    
    .header-card h1 {
        font-size: 24px;
    }
    
    .card {
        padding: 20px;
    }
    
    .token-display {
        font-size: 11px;
        padding: 15px;
    }
}

/* SweetAlert modal z-index*/
.swal2-container {
  z-index: 999 !important;
}

/* Page Card New Design - Colored Box */
.page-card-new {
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.page-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.page-card-new:hover {
  border-color: #cbd5e0;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

/* Page Profile Picture Center */
.page-profile-picture-center {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 4px solid #fff;
  display: block;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Info Item inside Page Card */
.page-card-new .info-item {
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
}

.page-card-new .info-item:last-of-type {
  margin-bottom: 16px;
}

/* Token display inside page card */
.page-card-new .token-display {
  background: #1a202c;
  color: #e2e8f0;
  padding: 12px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  word-break: break-all;
  font-size: 11px;
  line-height: 1.6;
  border: 1px solid #2d3748;
}

/* Permissions container inside page card */
.page-card-new .permissions-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: white;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* Button inside page card */
.page-card-new .btn-success {
  width: 100%;
  margin-top: 4px;
}

/* Pages Control Button */
.pages-control {
  margin-left: auto;
}

.btn-control {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-control:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-control:active {
  transform: translateY(0);
}

/* Pagination Controls */
.pages-pagination {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #f7fafc;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.btn-pagination {
  background: white;
  color: #4a5568;
  border: 2px solid #e2e8f0;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 40px;
}

.btn-pagination:hover:not(.disabled) {
  background: #f7fafc;
  border-color: #cbd5e0;
  transform: translateY(-2px);
}

.btn-pagination.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
}

.btn-pagination.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-info {
  text-align: center;
  font-size: 13px;
  color: #718096;
  font-weight: 500;
}

/* Card Header Flex */
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* API Explorer Styles */
.api-explorer-container {
  text-align: left;
  max-height: 70vh;
  overflow-y: auto;
  padding: 10px;
}

.api-section {
  margin-bottom: 24px;
}

.api-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 12px;
  font-size: 14px;
}

.api-label i {
  margin-right: 8px;
  color: #667eea;
}

/* Token Selection */
.tokens-list {
  max-height: 200px;
  overflow-y: auto;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px;
  background: #f7fafc;
}

.token-select-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.token-select-item:hover {
  border-color: #cbd5e0;
  transform: translateX(4px);
}

.token-select-item.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.token-select-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
}

.token-select-info {
  flex: 1;
  min-width: 0;
}

.token-select-name {
  font-weight: 600;
  color: #1a202c;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.token-select-id {
  font-size: 12px;
  color: #718096;
  font-family: 'Courier New', monospace;
}

.token-select-type {
  font-size: 11px;
  color: #667eea;
  margin-top: 2px;
}

.token-select-badge {
  background: #edf2f7;
  color: #4a5568;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.token-select-item.selected .token-select-badge {
  background: #667eea;
  color: white;
}

.token-select-check {
  color: #667eea;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.token-select-item.selected .token-select-check {
  opacity: 1;
}

/* API Method and Path */
.api-method-path {
  display: flex;
  gap: 8px;
}

.api-method-select {
  width: 120px;
  padding: 10px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1a202c;
  background: white;
  cursor: pointer;
}

.api-path-input {
  flex: 1;
  padding: 10px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
}

.api-path-input:focus,
.api-method-select:focus {
  outline: none;
  border-color: #667eea;
}

/* Parameters */
.params-container {
  max-height: 200px;
  overflow-y: auto;
}

.param-item {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.param-key,
.param-value {
  padding: 10px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Courier New', monospace;
}

.param-key {
  width: 35%;
}

.param-value {
  flex: 1;
}

.btn-add-param {
  background: #48bb78;
  color: white;
  border: none;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-add-param:hover {
  background: #38a169;
  transform: translateY(-1px);
}

.btn-remove-param {
  background: #fc8181;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-remove-param:hover {
  background: #f56565;
}

/* Body Textarea */
.api-body-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  resize: vertical;
}

.api-body-textarea:focus {
  outline: none;
  border-color: #667eea;
}

/* Response */
.api-response {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #1a202c;
}

.api-response-placeholder {
  padding: 40px 20px;
  text-align: center;
  color: #a0aec0;
  font-size: 14px;
}

.api-response-placeholder i {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.api-response-loading {
  padding: 40px 20px;
  text-align: center;
  color: #e2e8f0;
  font-size: 14px;
}

.api-response-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 13px;
}

.api-response-header.success {
  background: #48bb78;
  color: white;
}

.api-response-header.error {
  background: #fc8181;
  color: white;
}

.btn-copy-response {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-copy-response:hover {
  background: rgba(255, 255, 255, 0.3);
}

.api-response-body {
  background: #1a202c;
  color: #e2e8f0;
  padding: 16px;
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.6;
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
}

/* Spinner Small */
.spinner-small {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

/* Modal Adjustments */
.api-explorer-modal .swal2-html-container {
  margin: 0;
  padding: 0;
}

.api-explorer-popup {
  padding: 24px !important;
}

/* Selected Token Display (Dropdown Trigger) */
.selected-token-display {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.selected-token-display:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
  transform: translateY(-1px);
}

.selected-token-display .token-select-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
}

.selected-token-display .token-select-info {
  flex: 1;
  min-width: 0;
}

.selected-token-display .token-select-name {
  font-weight: 600;
  color: #1a202c;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selected-token-display .token-select-id {
  font-size: 12px;
  color: #718096;
  font-family: 'Courier New', monospace;
  margin-top: 2px;
}

.selected-token-display .token-select-type {
  font-size: 11px;
  color: #667eea;
  margin-top: 4px;
}

.selected-token-display .token-select-badge {
  background: #edf2f7;
  color: #4a5568;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.token-dropdown-arrow {
  margin-left: 8px;
  color: #718096;
  font-size: 16px;
  flex-shrink: 0;
}

.token-dropdown-arrow i {
  transition: transform 0.3s ease;
}

/* Token Select Avatar in List - BULAT */
.token-select-item .token-select-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
}

/* Data Deletion Page Styles */

/* Steps Container */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: #f7fafc;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.step-number {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content strong {
  display: block;
  color: #1a202c;
  margin-bottom: 4px;
  font-size: 15px;
}

.step-content p {
  color: #718096;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Browser Instructions */
.browser-instructions {
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.browser-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #1a202c;
  font-size: 16px;
}

.browser-header i {
  font-size: 24px;
  color: #667eea;
}

.browser-instructions ol {
  line-height: 1.8;
}

.browser-instructions ol li {
  margin-bottom: 8px;
}

.browser-instructions kbd {
  background: #2d3748;
  color: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.browser-instructions code {
  background: #2d3748;
  color: #f56565;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
}

/* Deletion Effects */
.deletion-effects {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.effect-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: #f7fafc;
  border-radius: 12px;
}

.effect-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.effect-icon.success {
  background: #c6f6d5;
  color: #22543d;
}

.effect-icon.warning {
  background: #feebc8;
  color: #7c2d12;
}

.effect-content strong {
  display: block;
  color: #1a202c;
  margin-bottom: 4px;
  font-size: 15px;
}

.effect-content p {
  color: #718096;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info {
  flex: 1;
}

.contact-info strong {
  display: block;
  color: #1a202c;
  margin-bottom: 4px;
  font-size: 14px;
}

.contact-info a {
  color: #667eea;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Alert Styles */
.alert {
  padding: 16px;
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.alert-info {
  background: #e6fffa;
  border: 1px solid #81e6d9;
  color: #234e52;
}

.alert-warning {
  background: #fffaf0;
  border: 1px solid #f6ad55;
  color: #7c2d12;
}

.alert-success {
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #22543d;
}

.alert-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.alert strong {
  font-weight: 600;
}

/* FAQ Styles */
.faq-item {
  margin-bottom: 16px;
  padding: 16px;
  background: #f7fafc;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  color: #1a202c;
}

.faq-question i {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-question strong {
  font-size: 15px;
  line-height: 1.5;
}

.faq-answer {
  color: #718096;
  font-size: 14px;
  line-height: 1.7;
  padding-left: 36px;
}


/* Mobile Optimizations */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    /* Container lebih kompak */
    .container {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .wrapper {
        padding-bottom: 40px;
    }

    /* Header Card lebih kompak */
    .header-card {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .header-card h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .header-card .subtitle {
        font-size: 13px;
    }

    .logo {
        width: 70px;
        height: 70px;
        margin-bottom: 16px;
    }

    /* Status Icon lebih kecil */
    .status-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
        margin-bottom: 16px;
    }

    /* Section Title */
    .section-title {
        font-size: 12px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    /* Account Item lebih kompak */
    .account-item {
        padding: 12px;
        gap: 12px;
        margin-bottom: 8px;
        border-radius: 10px;
    }

    .account-avatar {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .account-name {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .account-status {
        font-size: 11px;
    }

    .status-badge {
        padding: 2px 6px;
        font-size: 10px;
    }

    /* Card lebih kompak */
    .card {
        padding: 20px 16px;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .card-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .card-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .card-title {
        font-size: 16px;
    }

    /* Info Item */
    .info-item {
        padding: 10px 12px;
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .info-label {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .info-value {
        font-size: 13px;
    }

    /* Page Card kompak */
    .page-card {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .page-card-new {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .page-profile-picture-center {
        width: 70px;
        height: 70px;
        margin-bottom: 14px;
        border: 3px solid #fff;
    }

    .page-card-new .info-item {
        padding: 10px 12px;
        margin-bottom: 10px;
    }

    .page-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .page-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        border-radius: 10px;
    }

    .page-name {
        font-size: 15px;
    }

    /* Permissions */
    .permissions-container {
        gap: 6px;
    }

    .permission-badge {
        padding: 6px 10px;
        font-size: 10px;
    }

    .page-card-new .permissions-container {
        padding: 10px;
    }

    /* Token Display */
    .token-display,
    .page-card-new .token-display {
        padding: 10px;
        font-size: 10px;
        max-height: 150px;
        border-radius: 8px;
    }

    /* Buttons */
    .fb-btn, .btn {
        padding: 12px 18px;
        font-size: 14px;
        gap: 8px;
        margin-top: 16px;
    }

    .btn-success {
        padding: 10px 18px;
        font-size: 13px;
    }

    .btn-control {
        padding: 6px 12px;
        font-size: 12px;
        gap: 4px;
    }

    /* Modal */
    .modal-content {
        max-height: 90vh;
        border-radius: 16px;
    }

    .modal-header {
        padding: 20px 16px;
        border-radius: 16px 16px 0 0;
    }

    .modal-header h2 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .modal-header p {
        font-size: 12px;
    }

    .modal-body {
        padding: 20px 16px;
    }

    .modal-section {
        margin-bottom: 16px;
        padding: 12px;
        border-radius: 8px;
    }

    .modal-section h3 {
        font-size: 14px;
        margin-bottom: 6px;
        gap: 6px;
    }

    .modal-section p {
        font-size: 12px;
    }

    .checkbox-container {
        padding: 12px;
        gap: 10px;
        margin: 18px 0;
    }

    .checkbox-container input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .checkbox-container label {
        font-size: 12px;
    }

    .btn-modal {
        padding: 12px 18px;
        font-size: 13px;
    }

    /* Alert */
    .alert {
        padding: 12px 14px;
        font-size: 12px;
        gap: 10px;
        margin-bottom: 16px;
    }

    .alert-icon {
        font-size: 20px;
    }

    /* Empty State */
    .empty-state {
        padding: 30px 16px;
    }

    .empty-state svg {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    /* Copyright */
    .copyright {
        margin-top: 24px;
        font-size: 11px;
    }

    /* Content untuk document pages */
    .content {
        padding: 30px 20px;
    }

    .last-updated {
        padding: 12px 16px;
        font-size: 12px;
        margin-bottom: 20px;
    }

    .section {
        margin-bottom: 24px;
    }

    .section h2 {
        font-size: 18px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .section h3 {
        font-size: 15px;
        margin: 16px 0 8px;
    }

    .section p {
        margin-bottom: 12px;
        font-size: 13px;
    }

    .section ul {
        margin: 12px 0;
        padding-left: 20px;
    }

    .section li {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .highlight-box,
    .warning-box {
        padding: 14px;
        margin: 16px 0;
        border-radius: 8px;
    }

    .warning-box {
        padding: 16px;
        margin: 18px 0;
    }

    .warning-box h3 {
        font-size: 16px;
        gap: 8px;
    }

    .info-box {
        padding: 14px;
        margin: 16px 0;
    }

    .info-box h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .info-box p {
        font-size: 12px;
    }

    .highlight {
        padding: 12px 16px;
        margin: 12px 0;
    }

    /* Contact Items */
    .contact-item {
        flex-direction: row;
        gap: 12px;
        padding: 14px;
        margin-bottom: 10px;
        text-align: left;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .contact-details h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .contact-details p {
        font-size: 12px;
    }

    /* Pagination */
    .pages-pagination {
        margin-top: 16px;
        padding-top: 16px;
    }

    .pagination-controls {
        gap: 6px;
        margin-bottom: 10px;
    }

    .btn-pagination {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 36px;
    }

    .pagination-info {
        font-size: 11px;
    }

    /* Back Link */
    .back-link {
        padding: 10px 18px;
        font-size: 14px;
        margin-top: 16px;
    }

    /* Data Deletion Styles */
    .steps-container {
        gap: 12px;
        margin-top: 12px;
    }

    .step-item {
        padding: 12px;
        gap: 12px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .step-content strong {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .step-content p {
        font-size: 12px;
    }

    .browser-instructions {
        padding: 12px;
        margin-bottom: 12px;
    }

    .browser-header {
        gap: 8px;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .browser-header i {
        font-size: 20px;
    }

    .browser-instructions ol {
        line-height: 1.6;
        padding-left: 20px;
    }

    .browser-instructions ol li {
        margin-bottom: 6px;
        font-size: 12px;
    }

    .deletion-effects {
        gap: 12px;
    }

    .effect-item {
        padding: 12px;
        gap: 12px;
    }

    .effect-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .effect-content strong {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .effect-content p {
        font-size: 12px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 12px;
    }

    .faq-item {
        margin-bottom: 12px;
        padding: 12px;
    }

    .faq-question {
        gap: 10px;
        margin-bottom: 6px;
    }

    .faq-question i {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .faq-question strong {
        font-size: 13px;
    }

    .faq-answer {
        font-size: 12px;
        padding-left: 30px;
    }

    /* API Explorer */
    .api-explorer-container {
        padding: 8px;
    }

    .api-section {
        margin-bottom: 18px;
    }

    .api-label {
        margin-bottom: 10px;
        font-size: 12px;
    }

    .tokens-list {
        max-height: 180px;
        padding: 6px;
    }

    .token-select-item {
        padding: 10px;
        gap: 10px;
        margin-bottom: 6px;
    }

    .token-select-avatar {
        width: 40px;
        height: 40px;
    }

    .token-select-name {
        font-size: 13px;
    }

    .token-select-id {
        font-size: 10px;
    }

    .token-select-type {
        font-size: 10px;
    }

    .token-select-badge {
        padding: 3px 8px;
        font-size: 10px;
        gap: 3px;
    }

    .selected-token-display {
        padding: 12px;
        gap: 10px;
        margin-bottom: 6px;
    }

    .selected-token-display .token-select-avatar {
        width: 40px;
        height: 40px;
    }

    .selected-token-display .token-select-name {
        font-size: 13px;
    }

    .selected-token-display .token-select-badge {
        padding: 4px 10px;
    }

    .api-method-path {
        flex-direction: column;
        gap: 6px;
    }

    .api-method-select {
        width: 100%;
        padding: 8px;
        font-size: 12px;
    }

    .api-path-input {
        padding: 8px;
        font-size: 12px;
    }

    .params-container {
        max-height: 180px;
    }

    .param-item {
        gap: 6px;
        margin-bottom: 6px;
        flex-direction: column;
    }

    .param-key,
    .param-value {
        padding: 8px;
        font-size: 11px;
    }

    .param-key {
        width: 100%;
    }

    .btn-add-param {
        padding: 3px 10px;
        font-size: 11px;
        gap: 3px;
    }

    .btn-remove-param {
        padding: 8px 12px;
        font-size: 11px;
        width: 100%;
    }

    .api-body-textarea {
        min-height: 100px;
        padding: 10px;
        font-size: 11px;
    }

    .api-response-placeholder {
        padding: 30px 16px;
        font-size: 12px;
    }

    .api-response-placeholder i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .api-response-loading {
        padding: 30px 16px;
        font-size: 12px;
    }

    .api-response-header {
        padding: 10px 12px;
        font-size: 11px;
    }

    .btn-copy-response {
        padding: 3px 10px;
        font-size: 10px;
        gap: 3px;
    }

    .api-response-body {
        padding: 12px;
        font-size: 10px;
        max-height: 300px;
    }

    .spinner-small {
        width: 20px;
        height: 20px;
        border-width: 2px;
        margin-bottom: 10px;
    }
}

/* Extra Small Mobile (< 400px) */
@media (max-width: 400px) {
    body {
        padding: 8px;
    }

    .container {
        padding: 20px 14px;
    }

    .header-card {
        padding: 20px 14px;
    }

    .header-card h1 {
        font-size: 20px;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .account-avatar {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .account-name {
        font-size: 13px;
    }

    .card {
        padding: 16px 12px;
    }

    .page-profile-picture-center {
        width: 60px;
        height: 60px;
    }

    .token-display,
    .page-card-new .token-display {
        font-size: 9px;
        padding: 8px;
    }

    .btn-pagination {
        padding: 5px 8px;
        font-size: 11px;
        min-width: 32px;
    }
}
