/* Tool-specific styles only - base styles are in tool-layout.css */

.tool-main {
    margin-top: 60px;
}

.analysis-card {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0 0 16px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #e5e7eb;
    font-weight: 500;
}

.dimensions-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid #374151;
    padding-bottom: 12px;
}

.dim-tab {
    background: transparent;
    border: 1px solid #374151;
    color: #9ca3af;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms ease;
}

.dim-tab:hover {
    background: #1a1a1a;
    color: #e5e7eb;
}

.dim-tab.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.dimensions-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dimension-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #0a0a0a;
    border-radius: 6px;
    border: 1px solid #374151;
}

.dimension-size {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.dimension-meta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.dimension-orientation {
    font-size: 13px;
    color: #9ca3af;
    padding: 4px 10px;
    background: #1a1a1a;
    border-radius: 4px;
}

.dimension-orientation.portrait {
    color: #60a5fa;
}

.dimension-orientation.landscape {
    color: #34d399;
}

.dimension-count {
    font-size: 13px;
    color: #6b7280;
}

.page-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #0a0a0a;
    border-radius: 6px;
    border: 1px solid #374151;
}

.page-number {
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    min-width: 60px;
}

.page-dimensions {
    font-size: 14px;
    color: #e5e7eb;
    font-family: 'SF Mono', 'Fira Code', monospace;
    flex: 1;
    text-align: center;
}

.page-orientation {
    font-size: 12px;
    color: #9ca3af;
    padding: 4px 8px;
    background: #1a1a1a;
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
}

.page-orientation.portrait {
    color: #60a5fa;
}

.page-orientation.landscape {
    color: #34d399;
}

.standard-name {
    font-size: 12px;
    color: #fbbf24;
    margin-left: 8px;
}

.mixed-notice {
    padding: 12px 16px;
    background: #1e3a5f;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    color: #93c5fd;
    font-size: 14px;
    margin-bottom: 12px;
}

.page-list::-webkit-scrollbar {
    width: 8px;
}

.page-list::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.page-list::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}

.page-list::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

.download-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

@media (max-width: 480px) {
    .download-actions {
        flex-direction: column;
    }
    
    .download-actions button {
        width: 100%;
    }
}