* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

.code-container pre,
.code-container code,
.modal-content pre,
.modal-content code,
.tab-content pre,
.tab-content code,
input,
textarea,
.permission-name,
.activity-name,
.service-name,
.file-name,
.resource-name {
    user-select: text;
}


.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 2rem;
    color: #5fb9f6;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #5fb9f6, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    outline: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: #5fb9f6;
    color: white;
}

.btn-secondary {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Upload Area */
.upload-area {
    background: rgba(255, 255, 255, 0.95);
    border: 3px dashed #ddd;
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.upload-area:hover {
    border-color: #5fb9f6;
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-2px);
}

.upload-area.dragover {
    border-color: #5fb9f6;
    background: rgba(76, 175, 80, 0.1);
}

.upload-content {
    max-width: 400px;
    margin: 0 auto;
}

.upload-icon {
    font-size: 4rem;
    color: #5fb9f6;
    margin-bottom: 1rem;
}

.upload-area h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.upload-area p {
    color: #666;
    margin-bottom: 2rem;
}

#fileInput {
    display: none;
}

.supported-formats {
    color: #888;
    font-size: 0.9rem;
}

.loading-spinner {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #5fb9f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.analysis-results {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-panel {
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.panel-header i {
    color: #5fb9f6;
    font-size: 1.2rem;
}

.panel-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0px;
}

.app-info {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.app-icon-container {
    flex-shrink: 0;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #f5f5f5;
}

.app-details {
    width: 100%;
}

.app-details h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    word-break: break-word;
    text-align: center;
}

.tabs-container {
    border-top: 1px solid #eee;
}

.tabs-nav {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background: #5fbaf62a;
    color: #5fb9f6;
}

.tab-btn.active {
    color: #5fb9f6;
    background: white;
    border-bottom-color: #5fb9f6;
}

.tab-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
    padding: 2rem;
}

.tab-pane.active {
    display: block;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.content-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.content-header i {
    color: #5fb9f6;
}

.code-container {
    background: #2d3748;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.code-container:focus-within {
    border-color: #5fb9f6;
}

.code-container pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
    max-height: 600px;
    font-size: 0.9rem;
    line-height: 1.5;
    user-select: text;
    cursor: text;
}

.code-container pre::selection {
    background: #5fb9f6;
    color: white;
}

.code-container pre::-moz-selection {
    background: #5fb9f6;
    color: white;
}

/* Permissions */
.permission-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #5fb9f6;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.permissions-list {
    display: grid;
    gap: 1rem;
}

.permission-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ddd;
    transition: all 0.3s ease;
}

.permission-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.permission-item.dangerous {
    border-left-color: #f44336;
}

.permission-item.normal {
    border-left-color: #5fb9f6;
}

.permission-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.permission-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.permission-level {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.permission-level.dangerous {
    background: #ffebee;
    color: #c62828;
}

.permission-level.normal {
    background: #e8f5e8;
    color: #2e7d32;
}

.components-list {
    display: grid;
    gap: 1rem;
}

.component-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #5fb9f6;
    transition: all 0.3s ease;
}

.component-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.component-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.component-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.component-detail {
    font-size: 0.9rem;
    color: #666;
}

.component-detail strong {
    color: #333;
}

/* Resources */
.resource-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: #f5f5f5;
}

.filter-btn.active {
    background: #5fb9f6;
    color: white;
    border-color: #5fb9f6;
}

/* Download Section */
.download-section {
    margin: 20px 0;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
}

.download-assets-btn {
    background: linear-gradient(135deg, #153f5b 0%, #5fb9f6 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3)
}

.download-assets-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #5fb9f6 0%, #153f5b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

.download-assets-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.download-assets-btn i {
    margin-right: 8px;
}

/* Pagination */
.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 16px 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    gap: 16px;
}

.pagination-info {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 16px;
}

.page-numbers .btn {
    min-width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.page-numbers .btn:hover:not(.btn-primary) {
    background: #f9fafb;
    border-color: #d1d5db;
}

.page-numbers .btn-primary {
    border-color: #3b82f6;
    background: #374151 !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    transform: scale(1.1);
    position: relative;
}

.page-numbers .btn-primary:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.pagination-buttons .btn {
    padding: 6px 12px;
    height: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination-buttons .btn:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #d1d5db;
}

.pagination-buttons .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    color: #9ca3af;
}

.pagination-ellipsis {
    color: #9ca3af;
    padding: 0 4px;
    font-size: 14px;
}

.resources-container {
    min-height: 200px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.resource-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.resource-item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resource-item:hover .resource-download {
    opacity: 1;
}

.resource-download {
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.download-asset-btn {
    background: #5fb9f6;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(95, 185, 246, 0.3);
}

.download-asset-btn:hover {
    background: #4a9edb;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(74, 158, 219, 0.5);
}

.resource-preview {
    width: 100%;
    height: 120px;
    background: #e0e0e0;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.resource-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.resource-preview i {
    font-size: 2rem;
    color: #999;
}

.resource-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    word-break: break-word;
}

.resource-size {
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.file-preview-container {
    max-height: 60vh;
    overflow: auto;
}

.file-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.file-info {
    color: #666;
    font-size: 0.9rem;
}

.file-actions {
    display: flex;
    gap: 0.5rem;
}

.file-tree {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    max-height: 600px;
    overflow-y: auto;
}

.file-node {
    margin: 0.25rem 0;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-item:hover {
    background: #5fbaf62a;
}

.file-toggle {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.file-toggle:hover {
    background: #ddd;
}

.file-toggle i {
    font-size: 0.8rem;
    color: #666;
}

.file-icon {
    width: 16px;
    color: #666;
}

.file-name {
    font-size: 0.9rem;
    color: #333;
    flex: 1;
}

.file-size {
    font-size: 0.8rem;
    color: #999;
}

.file-children {
    margin-left: 1.5rem;
    border-left: 1px solid #ddd;
    padding-left: 0.5rem;
}

.file-children.hidden {
    display: none;
}

.certificates-list {
    display: grid;
    gap: 1.5rem;
}

.certificate-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #5fb9f6;
}

.certificate-subject {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.certificate-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.certificate-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.certificate-detail strong {
    color: #666;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.certificate-detail span {
    color: #333;
    word-break: break-word;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #e0e0e0;
    color: #333;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.hex-content-wrapper {
    max-height: 300px !important;
}

@media (max-width: 1125px) {
    .tabs-nav {
        grid-template-columns: 2fr 2fr
    }
}

@media (max-width: 1024px) {
    .pagination-controls {
        gap: 12px;
        padding: 12px 16px;
    }

    .pagination-info {
        font-size: 13px;
    }
}

@media (max-width: 768px) {

    .app-details h2 {
        margin-bottom: 30px;
    }

    .panel-header {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .panel-header h3 {
        font-size: 17px;
    }

    .app-icon-container {
        margin: 0 auto;
    }

    .app-header {
        padding: 0.75rem 1rem;
    }

    .logo {
        gap: 0.3rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .main-content {
        padding: 1rem;
    }

    .header-content {
        padding: 0 1rem;
    }

    .app-info {
        flex-direction: column;
        text-align: center;
    }

    .app-meta {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
    }

    .content-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 10px;
    }

    .tabs-nav {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        min-width: 120px;
    }

    .resources-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .pagination-controls {
        flex-direction: column;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .modal-body {
        padding: 1rem;
    }

    code[class*=language-],
    pre[class*=language-] {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .app-header {
        padding: 0.5rem 0.75rem;
    }

    .logo h1 {
        font-size: 1rem;
        display: none;
    }

    .logo i {
        font-size: 1.3rem;
    }

    .header-actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .header-actions .btn i {
        margin-right: 0.25rem;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

    .upload-icon {
        font-size: 3rem;
    }

    .upload-area h2 {
        font-size: 1.2rem;
    }

    .info-panel {
        padding: 1rem;
    }

    .tab-pane {
        padding: 10px;
    }

    .tab-pane.active {
        padding: 5px;
    }

    .pagination-buttons {
        gap: 0px;
    }

    .pagination-buttons .btn {
        padding: 3px;
        font-size: 10px;
    }

    .page-numbers {
        margin: 0px 5px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .permission-stats {
        margin-left: 15px;
    }

    .stat-number {
        font-size: 20px;
    }

    .permission-item.dangerous {
        max-width: 350px;
        overflow: hidden;
    }

    .permission-name {
        font-size: 12px;
    }

    .hex-bytes {
        flex-wrap: nowrap !important;
    }
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

.dex-strings-container {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #eee;
    overflow: hidden;
    margin-top: 20px;
}

.dex-strings-container h5 {
    background: #f8f9fa;
    color: #333;
    padding: 1rem 1.5rem;
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #eee;
}

.dex-strings-container h5 i {
    color: #5fb9f6;
    font-size: 1.1rem;
}

.search-container {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.search-container input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: white;
}

.search-container input:focus {
    outline: none;
    border-color: #5fb9f6;
}

.strings-list {
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem;
    background: white;
}

.string-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.string-item::after {
    content: '📋';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 12px;
}

.string-item:hover {
    background: #f0f0f0;
    border-color: #5fb9f6;
    transform: translateX(5px);
}

.string-item:hover::after {
    opacity: 0.6;
}

.string-item:active {
    transform: translateX(5px) translateY(1px);
}

.string-index {
    background: #5fb9f6;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
    font-family: 'Courier New', monospace;
}

.string-value {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    color: #333;
    flex: 1;
    word-break: break-all;
    line-height: 1.5;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border-left: 3px solid #5fb9f6;
}

.string-item.highlight {
    background: #e8f5e8;
    border-color: #5fb9f6;
}

.string-item.highlight .string-value {
    background: #f8fff8;
}

.strings-list::-webkit-scrollbar {
    width: 6px;
}

.strings-list::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.strings-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.strings-list::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.strings-list .text-muted {
    text-align: center;
    padding: 2rem 1rem;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {

    .string-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .string-index {
        align-self: flex-start;
        min-width: auto;
    }

    .string-value {
        font-size: 12px;
    }

    .search-container {
        padding: 1rem;
    }

    .strings-list {
        max-height: 400px;
        padding: 0.5rem;
    }
}

@media print {

    .upload-area,
    .loading-spinner,
    .header-actions,
    .tab-btn,
    .btn {
        display: none !important;
    }

    .analysis-results {
        box-shadow: none;
        background: white;
    }

    .tab-pane {
        display: block !important;
        page-break-inside: avoid;
    }
}