.qr-generator-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.qr-generator-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    transition: all 0.3s ease;
}

.qr-generator-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.qr-generator-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.qr-generator-header h3 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
    font-weight: 700;
    font-size: 1.75rem;
}

.qr-generator-header p {
    margin: 0;
    color: #718096;
    font-size: 1rem;
}

.qr-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.qr-url-input {
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f7fafc;
}

.qr-url-input:focus {
    outline: none;
    border-color: #4299e1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.1);
}

.qr-generate-btn {
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
}

.qr-generate-btn:hover {
    background: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.qr-generate-btn:active {
    transform: translateY(0);
}

.qr-result {
    text-align: center;
    margin-top: 2rem;
    animation: fadeIn 0.5s ease;
}

.qr-code-display {
    margin-bottom: 1.5rem;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.qr-download-btn {
    background: #48bb78;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qr-download-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.qr-download-btn:active {
    transform: translateY(0);
}

.qr-error-message {
    color: #e53e3e;
    text-align: center;
    padding: 12px;
    background: #fed7d7;
    border-radius: 8px;
    margin-top: 1rem;
    animation: shake 0.5s ease;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 600px) {
    .qr-generator-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .qr-input-group {
        flex-direction: column;
    }
}