.exif-tool-container {
    max-width: 800px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
}

.exif-header {
    text-align: center;
    margin-bottom: 30px;
}

.exif-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.exif-header p {
    color: var(--footer-text);
    font-size: 0.95rem;
}

.exif-workspace {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    background: var(--nav-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.upload-area {
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(13, 110, 253, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.upload-area:hover,
.upload-area.dragover {
    background: rgba(13, 110, 253, 0.1);
    transform: scale(1.01);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.upload-hint {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--footer-text);
}

.exif-output-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.success-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 15px;
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 8px;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--footer-text);
    font-weight: 600;
}

.stat-value {
    font-size: 1.1rem;
    color: var(--text-color);
}

.text-success {
    color: #28a745;
}

.preview-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    max-height: 400px;
    overflow: hidden;
}

#image-preview {
    max-width: 100%;
    max-height: 370px;
    object-fit: contain;
    border-radius: 4px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.primary-btn,
.secondary-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    font-size: 1rem;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.secondary-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.secondary-btn:hover {
    background: var(--bg-color);
}

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

    .exif-tool-container {
        margin: 10px;
    }

    .action-buttons {
        flex-direction: column;
    }
}