/* File Sharing Interface Styles */
.file-sharing-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.upload-area {
    border: 2px dashed #3498db;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    background: #eef2f7;
    border-color: #2980b9;
}

.upload-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.upload-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.upload-btn:hover {
    background: #2980b9;
}

.upload-progress {
    margin-top: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #eef2f7;
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress {
    width: 0%;
    height: 100%;
    background: #3498db;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #2c3e50;
}

.upload-history {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eef2f7;
}

.history-list {
    margin-top: 1rem;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.history-item:hover {
    background: #eef2f7;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-name {
    font-weight: 500;
    color: #2c3e50;
}

.file-size {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.file-link {
    color: #3498db;
    text-decoration: none;
}

.file-link:hover {
    text-decoration: underline;
}

.share-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qr-code {
    background: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.copy-link {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.copy-link:hover {
    background: #2980b9;
}