:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #f0f4ff;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --background: #fafbfc;
    --surface: #ffffff;
    --border: #e5e7eb;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.header-content {
    flex: 1;
    text-align: center;
}

.privilege-panel {
    position: absolute;
    top: 20px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.privilege-status {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.privilege-status.privileged {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.privilege-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.privilege-input {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.privilege-input:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

#privilegePassword {
    border: none;
    outline: none;
    padding: 6px 8px;
    font-size: 0.875rem;
    background: transparent;
    width: 150px;
}

#privilegeBtn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: calc(var(--radius) - 2px);
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#privilegeBtn:hover {
    background: var(--primary-hover);
}

#privilegeBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo i {
    font-size: 2.25rem;
}

.tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.status-panel {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.status-card {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.status-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.status-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.status-info {
    flex: 1;
    min-width: 0;
}

.status-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

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

.progress-fill.warning {
    background: var(--warning-color);
}

.progress-fill.danger {
    background: var(--danger-color);
}

.status-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.upload-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    padding: 32px;
}

.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--background);
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    transform: scale(1.02);
}

.upload-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.upload-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.upload-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 1rem;
}

.upload-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.upload-progress {
    background: var(--primary-light);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 24px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 500;
    gap: 16px;
}

#uploadFileName {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-primary);
}

#uploadPercent {
    flex-shrink: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.cancel-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
}

.cancel-btn:hover {
    background: #dc2626;
}

.files-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.section-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.refresh-btn {
    background: transparent;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.refresh-btn:hover {
    background: var(--background);
    color: var(--text-primary);
}

.files-list {
    padding: 0 24px 24px;
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: var(--surface);
    transition: all 0.2s ease;
}

.file-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.file-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.file-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
    word-break: break-word;
    line-height: 1.4;
    max-height: 2.8em; /* 最多顯示2行 */
    overflow: hidden;
}

.file-meta {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.file-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.action-btn {
    padding: 8px 12px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

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

.link-btn:hover {
    background: var(--primary-hover);
}

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

.download-btn:hover {
    background: #059669;
}

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

.delete-btn:hover {
    background: #dc2626;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: var(--background);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.file-details {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--background);
    border-radius: var(--radius);
}

.file-details i {
    font-size: 2rem;
    color: var(--primary-color);
}

.file-details h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
    word-break: break-word;
}

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

.share-url-container {
    margin-bottom: 20px;
}

.share-mode-toggle {
    margin-bottom: 16px;
}

.share-mode-toggle label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.toggle-buttons {
    display: flex;
    gap: 4px;
    background: var(--background);
    border-radius: var(--radius);
    padding: 4px;
    border: 1px solid var(--border);
}

.toggle-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: calc(var(--radius) - 4px);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.toggle-btn:hover {
    color: var(--text-primary);
    background: var(--surface);
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.share-content {
    min-height: 120px;
}

.url-mode, .qr-mode {
    width: 100%;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--background);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

#qrCanvas {
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: white;
    padding: 8px;
}

.qr-instruction {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
}

.download-qr-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.download-qr-btn:hover {
    background: #475569;
    transform: translateY(-1px);
}

.url-input-group {
    display: flex;
    gap: 8px;
}

.url-input-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    background: var(--background);
}

.copy-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #475569;
}

.copy-btn.copied {
    background: var(--success-color);
}

.expiry-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--warning-color);
    color: white;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 16px 20px;
    max-width: 400px;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: var(--success-color);
}

.notification.error .notification-icon {
    color: var(--danger-color);
}

.notification.warning .notification-icon {
    color: var(--warning-color);
}

.notification-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.footer {
    margin-top: 40px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-text {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-links span {
    color: var(--text-secondary);
}

.language-switch {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.lang-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 16px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.lang-btn i {
    font-size: 1rem;
}

/* 平板電腦端優化 */
@media (max-width: 1024px) and (min-width: 769px) {
    .header {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 30px 0;
    }
    
    .header-content {
        text-align: center;
    }
    
    .privilege-panel {
        position: static;
        width: 100%;
        max-width: 400px;
        align-items: center;
        gap: 10px;
    }
    
    .privilege-status {
        align-self: center;
    }
    
    .privilege-input {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
    
    #privilegePassword {
        width: 220px;
        flex: 1;
        min-width: 180px;
    }
    
    #privilegeBtn {
        flex-shrink: 0;
    }
    
    .logo {
        font-size: 2.25rem;
    }
    
    .logo i {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .header-content {
        text-align: center;
    }
    
    .privilege-panel {
        position: static;
        width: 100%;
        max-width: 320px;
        align-items: center;
        gap: 12px;
    }
    
    .privilege-status {
        align-self: center;
    }
    
    .privilege-input {
        width: 100%;
        max-width: 300px;
        padding: 6px;
        justify-content: center;
    }
    
    #privilegePassword {
        width: 200px;
        flex: 1;
        min-width: 150px;
    }
    
    #privilegeBtn {
        padding: 8px 12px;
        flex-shrink: 0;
    }
    
    .status-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* 平板端進度條優化 */
    .progress-info {
        gap: 12px;
    }
    
    #uploadFileName {
        font-size: 0.95rem;
    }
    
    .upload-area {
        padding: 32px 16px;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    
    .file-info {
        width: 100%;
        min-width: 0;
    }
    
    .file-name {
        max-height: 2.1em; /* 手機端限制稍微緊一點 */
        font-size: 0.95rem;
    }
    
    .file-meta {
        gap: 12px;
        font-size: 0.8rem;
    }
    
    .file-actions {
        width: 100%;
        display: flex;
        gap: 8px;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .action-btn {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }
    
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .url-input-group {
        flex-direction: column;
    }
    
    .toggle-buttons {
        gap: 2px;
        padding: 2px;
    }
    
    .toggle-btn {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .qr-container {
        padding: 12px;
        gap: 8px;
    }
    
    #qrCanvas {
        max-width: 160px;
        height: auto;
    }
    
    .expiry-info {
        margin-top: 12px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-text {
        text-align: center;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
        font-size: 0.75rem;
        justify-content: center;
    }
    
    .language-switch {
        margin-top: 12px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .privilege-panel {
        max-width: 280px;
        gap: 10px;
    }
    
    .privilege-input {
        max-width: 280px;
        padding: 4px;
    }
    
    #privilegePassword {
        width: 160px;
        padding: 8px;
        font-size: 0.875rem;
    }
    
    #privilegeBtn {
        padding: 8px 10px;
        min-width: 40px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .logo i {
        font-size: 1.75rem;
    }
    
    .upload-content h3 {
        font-size: 1.125rem;
    }
    
    .upload-icon {
        font-size: 2.5rem;
    }
    
    .modal-content {
        margin: 5px;
        width: calc(100% - 10px);
        max-height: 98vh;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .qr-container {
        padding: 8px;
        gap: 6px;
    }
    
    #qrCanvas {
        max-width: 140px;
    }
    
    .qr-instruction {
        font-size: 0.75rem;
    }
    
    .download-qr-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .expiry-info {
        margin-top: 8px;
        padding: 8px 10px;
        font-size: 0.75rem;
    }
    
    .file-item {
        padding: 16px;
        gap: 12px;
    }
    
    .file-name {
        max-height: 1.4em; /* 小屏幕限制為單行 */
        font-size: 0.9rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-break: normal; /* 重置word-break */
        position: relative;
        cursor: pointer;
        transition: all 0.3s ease;
        border-radius: 4px;
        padding: 2px 4px;
        margin: -2px -4px;
    }
    
    .file-name:hover {
        background-color: var(--primary-light);
    }
    
    .file-name:after {
        content: " 👆";
        opacity: 0.6;
        font-size: 0.7em;
        margin-left: 4px;
    }
    
    /* 添加點擊展開功能 */
    .file-name.expanded {
        white-space: normal;
        max-height: none;
        word-break: break-word;
        background-color: var(--primary-light);
    }
    
    .file-name.expanded:after {
        content: " 👇";
    }
    
    .file-meta {
        gap: 8px;
        font-size: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .file-meta span {
        display: block;
    }
    
    .file-actions {
        width: 100%;
        display: flex;
        gap: 6px;
        justify-content: space-between;
        flex-wrap: nowrap;
        margin-top: 8px;
    }
    
    .action-btn {
        flex: 1;
        min-width: 70px;
        font-size: 0.75rem;
        padding: 6px 8px;
        justify-content: center;
        text-align: center;
    }
    
    .action-btn i {
        margin-right: 4px;
    }
    
    .progress-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    #uploadFileName {
        width: 100%;
        font-size: 0.9rem;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
        text-overflow: unset;
        overflow: visible;
        max-height: 2.6em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    #uploadPercent {
        align-self: flex-end;
        font-size: 0.9rem;
    }
    
    .upload-progress {
        padding: 16px;
    }
}