.upload-zone-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 30px 0;
}

.file-upload-area {
    border: 4px dashed #4facfe;
    border-radius: 20px;
    padding: 50px 60px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.15) 100%);
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
}

.file-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(79, 172, 254, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: #00f2fe;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.25) 100%);
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.form-actions-centered {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.file-input {
    display: none;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.upload-icon {
    color: #4facfe;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.2) 100%);
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(79, 172, 254, 0.3);
}

.upload-icon svg {
    width: 48px;
    height: 48px;
}

.upload-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.upload-hint {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(79, 172, 254, 0.15);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.upload-limit {
    font-size: 0.95rem;
    color: #4facfe;
    font-weight: 600;
}

.file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    margin-top: 15px;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-name {
    font-weight: 500;
    color: var(--text-primary);
}

.file-size {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.remove-file {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.remove-file:hover {
    color: var(--danger-color);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.results-actions .btn-large {
    min-width: 200px;
    justify-content: center;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.warning-box {
    background: rgba(var(--warning-rgb, 255, 193, 7), 0.1);
    border: 1px solid rgba(var(--warning-rgb, 255, 193, 7), 0.3);
}

.info-icon {
    flex-shrink: 0;
    color: var(--warning-color, #ffc107);
}

.info-content strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.info-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.format-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 10px;
    text-align: center;
}

.format-icon {
    color: var(--primary-color);
}

.format-label {
    font-weight: 600;
    color: var(--text-primary);
}

.format-types {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.supported-formats {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.supported-formats h4 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.privacy-summary {
    margin-bottom: 30px;
}

.privacy-score {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-radius: 12px;
}

.privacy-score.high {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.privacy-score.high .score-icon {
    color: #dc3545;
}

.privacy-score.medium {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.privacy-score.medium .score-icon {
    color: #ffc107;
}

.privacy-score.low {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.privacy-score.low .score-icon {
    color: #28a745;
}

.score-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.score-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.privacy-score.high .score-value { color: #dc3545; }
.privacy-score.medium .score-value { color: #ffc107; }
.privacy-score.low .score-value { color: #28a745; }

.score-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.sensitive-data-section {
    background: rgba(220, 53, 69, 0.05);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.sensitive-data-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #dc3545;
}

.sensitive-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sensitive-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.sensitive-tag.high {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.sensitive-tag.medium {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.sensitive-tag.low {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.tag-type {
    font-weight: 600;
}

.tag-name {
    color: var(--text-secondary);
}

.metadata-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.metadata-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.gps-section {
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.gps-section h3 {
    color: #dc3545;
}

.warning-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 6px;
    font-size: 0.85rem;
    color: #dc3545;
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.metadata-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.meta-key {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.meta-value {
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-all;
}

.all-metadata-section {
    margin-top: 30px;
}

.all-metadata-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.accordion-item {
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: background 0.2s;
}

.accordion-header:hover {
    background: var(--bg-tertiary);
}

.accordion-header svg {
    transition: transform 0.3s;
}

.accordion-item.open .accordion-header svg {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 15px 20px;
    background: var(--bg-primary);
}

.accordion-item.open .accordion-content {
    display: block;
}

.metadata-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: 6px;
}

.table-key {
    font-size: 0.85rem;
    color: var(--text-secondary);
    word-break: break-all;
}

.table-value {
    color: var(--text-primary);
    word-break: break-all;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.file-info-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-type-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.file-type-badge.image {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.file-type-badge.video {
    background: rgba(237, 100, 166, 0.2);
    color: #ed64a6;
}

.file-type-badge.audio {
    background: rgba(72, 187, 120, 0.2);
    color: #48bb78;
}

.file-name-badge {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }

    .btn-large {
        justify-content: center;
    }

    .table-row {
        grid-template-columns: 1fr;
    }

    .privacy-score {
        flex-direction: column;
        text-align: center;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
}