.selfit-logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.selfit-logo-container {
    position: fixed;
    top: 10px;
    left: 25px;
    width: 10vw;
    height: 10vw;
    background: url(../img/logo.svg) no-repeat center center / contain;
    z-index: 9999;
    pointer-events: none;
}

.selfit-logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.selfit-logs-count {
    font-weight: bold;
    color: #666;
}

.selfit-logs-table {
    margin-top: 20px;
}

.selfit-logs-table th,
.selfit-logs-table td {
    text-align: center;
    vertical-align: top;
}

.selfit-logs-table th:nth-child(2),
.selfit-logs-table td:nth-child(2) {
    width: 20%;
}

.selfit-logs-table th:nth-child(5),
.selfit-logs-table td:nth-child(5) {
    width: 35%;
}

.method-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.method-badge.method-post {
    background-color: #a7287d;
}

.method-badge.method-get {
    background-color: #007bff;
}

.method-badge.method-put {
    background-color: #ffc107;
    color: #212529;
}

.method-badge.method-delete {
    background-color: #dc3545;
}

.method-badge.method-unknown {
    background-color: #6c757d;
}

.status-code {
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
    color: white;
}

.status-code.status-200 {
    background-color: #28a745;
}

.status-code.status-400,
.status-code.status-401,
.status-code.status-403,
.status-code.status-404 {
    background-color: #dc3545;
}

.status-code.status-500 {
    background-color: #6c757d;
}

.status-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.status-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.status-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-badge.status-request {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-badge.status-response {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.log-data {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.log-data textarea {
    width: 100%;
    min-height: 100px;
    font-family: cursive;
    font-size: 12px;
    border: none;
    background: transparent;
    resize: vertical;
    margin-bottom: 10px;
    direction: ltr;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.log-data textarea:hover {
    background-color: #f0f8ff;
}

.log-data textarea.copied {
    background-color: #d4edda;
    transition: background-color 0.3s ease;
}

.auto-copy-textarea {
    position: relative;
}

.copy-notification {
    position: absolute;
    top: 5px;
    left: 10px;
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.copy-notification.show {
    opacity: 1;
}

.log-data h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.no-data {
    color: #999;
    font-style: italic;
}

.toggle-data {
    cursor: pointer;
}

@media (max-width: 768px) {
    .selfit-logs-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .selfit-logs-table {
        font-size: 12px;
    }
    
    .selfit-logs-table th,
    .selfit-logs-table td {
        padding: 5px;
    }
}

.tablenav {
    clear: both;
    margin: 6px 0 4px;
    height: 30px;
}

.tablenav-pages {
    float: left;
    margin: 0;
    text-align: left;
}

.displaying-num {
    color: #646970;
    font-style: italic;
    margin-left: 10px;
}

.pagination-links {
    white-space: nowrap;
}

.pagination-links a,
.pagination-links span {
    color: #2271b1;
    text-decoration: none;
    padding: 3px 5px;
    margin: 2px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 3px;
    display: inline-block;
    min-width: 17px;
    text-align: center;
}

.pagination-links a:hover {
    color: #135e96;
    border-color: #a7aaad;
}

.pagination-links .current {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
    font-weight: 600;
}

.pagination-links .next-page,
.pagination-links .prev-page {
    padding: 3px 8px;
}

.pagination-links .next-page:hover,
.pagination-links .prev-page:hover {
    background: #f6f7f7;
}

.pagination-links .tablenav-pages-navspan {
    color: #a7aaad;
    cursor: default;
}

.pagination-links .dots {
    color: #a7aaad;
    cursor: default;
    padding: 3px 5px;
}

.selfit-token-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    width: 30%;
    float: right;
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.selfit-token-info::before {
    content: "اطلاعات توکن‌ها";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 2px dashed #fff;
    white-space: nowrap;
    z-index: 9999;
}

.selfit-token-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}
.selfit-token-row:last-child {
    margin-bottom: 0;
}
.selfit-token-icon {
    width: 24px;
    height: 24px;
    margin-left: 12px;
    flex-shrink: 0;
}
.selfit-token-content {
    flex: 1;
}
.selfit-token-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}
.selfit-token-status {
    font-size: 13px;
    opacity: 0.9;
}
.selfit-status-active {
    color: #4ade80;
}
.selfit-status-expired {
    color: #f87171;
}
.selfit-status-not-set {
    color: #fbbf24;
}
.selfit-token-badge {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.selfit-badge-active {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}
.selfit-badge-expired {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}
.selfit-badge-not-set {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}