.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    max-width: 800px;
    width: 100%;
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    font-weight: 300;
}

.main-content {
    padding: 40px 30px;
}

.upload-section {
    background: #f8fafc;
    border: 3px dashed #cbd5e0;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.upload-section:hover {
    border-color: #4facfe;
    background: #f0f9ff;
    transform: translateY(-2px);
}

.upload-section.dragover {
    border-color: #00f2fe;
    background: #e0f7fa;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 4rem;
    color: #64748b;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.upload-section:hover .upload-icon {
    color: #4facfe;
    transform: scale(1.1);
}

.upload-text {
    font-size: 1.5rem;
    color: #334155;
    margin-bottom: 10px;
    font-weight: 600;
}

.file-input {
    display: none;
}

/* Novos estilos para os elementos adicionados */
.btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(79, 172, 254, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
}

.password-input {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    margin: 10px 0;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.password-input:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.password-input::placeholder {
    color: #94a3b8;
}

.upload-controls {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.response-section {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    color: white;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    animation: slideUp 0.6s ease-out;
}

.response-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.response-url {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    word-break: break-all;
    backdrop-filter: blur(10px);
}

.response-url:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.password-info {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
}

.password-syntax {
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    color: #fde68a;
    display: inline-block;
    margin: 0 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
}

.response-actions {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-copy {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
}

.btn-copy:hover {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.6);
}

.btn-reset {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

.btn-reset:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.6);
}

.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.9);
}

#qrcode {
    display: none;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 20px auto;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: fadeInScale 0.5s ease-out;
}

#qrcode:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


#qrcode[src]:not([src=""]) {
    display: block;
}

@media (max-width: 768px) {
    .logo {
        font-size: 3rem;
    }

    .main-content {
        padding: 30px 20px;
    }

    .upload-section {
        padding: 30px 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .password-input {
        max-width: 250px;
    }

    .upload-controls {
        gap: 8px;
    }

    .response-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn-outline {
        padding: 8px 16px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 250px;
    }
}

:root {
    --progress-height: 6px;
    --progress-height-mobile: 5px;
    --progress-radius: 3px;
    --progress-bg: rgba(203, 213, 224, 0.2);
    --progress-track-bg: rgba(255, 255, 255, 0.1);
    --progress-primary: #4facfe;
    --progress-secondary: #00f2fe;
    --progress-success: #10b981;
    --progress-error: #ef4444;
    --progress-duration: 0.25s;
    --progress-easing: ease-out;
}

.progress-container {
    margin: 12px 0;
    padding: 8px 0;
    transform-origin: center top;
}

.progress-bar {
    position: relative;
    background: var(--progress-bg);
    border-radius: var(--progress-radius);
    overflow: hidden;
    border: 1px solid rgba(203, 213, 224, 0.3);
    transition: opacity var(--progress-duration) var(--progress-easing);
}

.progress-track {
    position: relative;
    height: var(--progress-height);
    background: transparent;
    border-radius: inherit;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--progress-primary);
    border-radius: inherit;
    transition: width 0.3s var(--progress-easing);
    will-change: width;
}

.progress-glow {
    display: none;
}

.progress-fill.loading {
    background: var(--progress-primary);
}

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

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

.progress-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
}

.progress-percentage {
    font-weight: 600;
    color: #64748b;
    font-size: 0.75rem;
    text-align: center;
}

.progress-status {
    display: none;
}

@media (max-width: 768px) {
    .progress-container {
        margin: 10px 0;
        padding: 6px 0;
    }
    
    .progress-track {
        height: var(--progress-height-mobile);
    }
    
    .progress-info {
        margin-top: 4px;
    }
    
    .progress-percentage {
        font-size: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .progress-fill {
        transition: width 0.1s linear;
    }
}

@media (prefers-high-contrast: active) {
    .progress-bar {
        border: 2px solid #000;
        background: #fff;
    }
    
    .progress-fill {
        background: #000 !important;
    }
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.2) !important;
}